From: Larisse Voufo Date: Fri, 21 Jun 2013 15:56:15 +0000 (+0000) Subject: Add basic fixit test to template instantiation bug fix (r184503) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=472e66e9d32e587a028bc676aa63bd7137f3d4d4;p=clang Add basic fixit test to template instantiation bug fix (r184503) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184559 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CXX/temp/temp.spec/no-body.cpp b/test/CXX/temp/temp.spec/no-body.cpp index c2434a8c94..cf90b3824e 100644 --- a/test/CXX/temp/temp.spec/no-body.cpp +++ b/test/CXX/temp/temp.spec/no-body.cpp @@ -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 void f(T) { } template void g(T) { }