aboutsummaryrefslogtreecommitdiff
path: root/test/Parser/cxx-class.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-02-06 22:42:48 +0000
committerDouglas Gregor <dgregor@apple.com>2009-02-06 22:42:48 +0000
commitddc29e116db3c3f4144355e67a0137b38b6bb6d1 (patch)
treeadd7fd5470501bcc7a612dac9fbd03b5918b86da /test/Parser/cxx-class.cpp
parent4398a78095cd05a3be702fbab25bfe324a5d7946 (diff)
Semantic checking for class template declarations and
redeclarations. For example, checks that a class template redeclaration has the same template parameters as previous declarations. Detangled class-template checking from ActOnTag, whose logic was getting rather convoluted because it tried to handle C, C++, and C++ template semantics in one shot. Made some inroads toward eliminating extraneous "declaration does not declare anything" errors by adding an "error" type specifier. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63973 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Parser/cxx-class.cpp')
-rw-r--r--test/Parser/cxx-class.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Parser/cxx-class.cpp b/test/Parser/cxx-class.cpp
index 7ad63446ab..9cdd1d7c0e 100644
--- a/test/Parser/cxx-class.cpp
+++ b/test/Parser/cxx-class.cpp
@@ -1,4 +1,4 @@
-// RUN: clang -parse-noop -verify %s
+// RUN: clang -fsyntax-only -verify %s
class C;
class C {
public: