diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-06-19 19:29:21 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-06-19 19:29:21 +0000 |
commit | 26b72453f75496f3e554cb89d81ba340368d786c (patch) | |
tree | db3c7482b87131890f21b52bafe502695e5faeac /clang/test/PCH/cxx-templates.cpp | |
parent | 95c04caf9247d2d459003a649d5e434e820f3350 (diff) | |
download | bcm5719-llvm-26b72453f75496f3e554cb89d81ba340368d786c.tar.gz bcm5719-llvm-26b72453f75496f3e554cb89d81ba340368d786c.zip |
Include a hack to allow loading of templated CXXRecordDecls and test template reading from PCH.
llvm-svn: 106393
Diffstat (limited to 'clang/test/PCH/cxx-templates.cpp')
-rw-r--r-- | clang/test/PCH/cxx-templates.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/PCH/cxx-templates.cpp b/clang/test/PCH/cxx-templates.cpp index 00756736c29..948763a5905 100644 --- a/clang/test/PCH/cxx-templates.cpp +++ b/clang/test/PCH/cxx-templates.cpp @@ -1,3 +1,4 @@ // RUN: %clang_cc1 -x c++-header -emit-pch -o %t %S/cxx-templates.h +// RUN: %clang_cc1 -include-pch %t -fsyntax-only %s -// Placeholder for stuff using the header. +S<float> v; |