r184559 - Add basic fixit test to template instantiation bug fix (r184503)

Larisse Voufo lvoufo at google.com
Fri Jun 21 08:56:16 PDT 2013


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) { }





More information about the cfe-commits mailing list