]> granicus.if.org Git - clang/commitdiff
Add basic fixit test to template instantiation bug fix (r184503)
authorLarisse Voufo <lvoufo@google.com>
Fri, 21 Jun 2013 15:56:15 +0000 (15:56 +0000)
committerLarisse Voufo <lvoufo@google.com>
Fri, 21 Jun 2013 15:56:15 +0000 (15:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184559 91177308-0d34-0410-b5e6-96231b3b80d8

test/CXX/temp/temp.spec/no-body.cpp

index c2434a8c94865c0f998c383e6a5f9ceb841b4e4d..cf90b3824eeabe11b3ce98f22f7ec07522d9c14c 100644 (file)
@@ -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) { }