r184559 - Add basic fixit test to template instantiation bug fix (r184503)
Jordan Rose
jordan_rose at apple.com
Fri Jun 21 09:39:28 PDT 2013
Please use FileCheck instead of grep.
On Jun 21, 2013, at 8:56 , Larisse Voufo <lvoufo at google.com> wrote:
> Author: lvoufo
> Date: Fri Jun 21 10:56:15 2013
> New Revision: 184559
>
> URL: http://llvm.org/viewvc/llvm-project?rev=184559&view=rev
> Log:
> Add basic fixit test to template instantiation bug fix (r184503)
>
> Modified:
> cfe/trunk/test/CXX/temp/temp.spec/no-body.cpp
>
> Modified: cfe/trunk/test/CXX/temp/temp.spec/no-body.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CXX/temp/temp.spec/no-body.cpp?rev=184559&r1=184558&r2=184559&view=diff
> ==============================================================================
> --- cfe/trunk/test/CXX/temp/temp.spec/no-body.cpp (original)
> +++ cfe/trunk/test/CXX/temp/temp.spec/no-body.cpp Fri Jun 21 10:56:15 2013
> @@ -1,4 +1,7 @@
> // RUN: %clang_cc1 -fsyntax-only -verify %s
> +// RUN: cp %s %t
> +// RUN: not %clang_cc1 -fsyntax-only -fixit -x c++ %t
> +// RUN: grep test_string %t
>
> template<typename T> void f(T) { }
> template<typename T> void g(T) { }
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
More information about the cfe-commits
mailing list