From 472e66e9d32e587a028bc676aa63bd7137f3d4d4 Mon Sep 17 00:00:00 2001 From: Larisse Voufo Date: Fri, 21 Jun 2013 15:56:15 +0000 Subject: [PATCH] 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 --- test/CXX/temp/temp.spec/no-body.cpp | 3 +++ 1 file changed, 3 insertions(+) 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) { } -- 2.50.1