summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-11-05 20:02:41 +0000
committerDouglas Gregor <dgregor@apple.com>2009-11-05 20:02:41 +0000
commit866ad5d8eaef7d45c20ff7f057bb7a8d0833109d (patch)
tree98b0130fe351bda4992497a05da27e99f19c2d8e
parent1060067dd11ae11cc637d9d3c50eb9407dca514b (diff)
downloadbcm5719-llvm-866ad5d8eaef7d45c20ff7f057bb7a8d0833109d.tar.gz
bcm5719-llvm-866ad5d8eaef7d45c20ff7f057bb7a8d0833109d.zip
De-FIXME a test
llvm-svn: 86166
-rw-r--r--clang/test/SemaTemplate/class-template-decl.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/clang/test/SemaTemplate/class-template-decl.cpp b/clang/test/SemaTemplate/class-template-decl.cpp
index d2e90c1daa8..8c717ea16e1 100644
--- a/clang/test/SemaTemplate/class-template-decl.cpp
+++ b/clang/test/SemaTemplate/class-template-decl.cpp
@@ -41,15 +41,11 @@ struct test {}; // expected-note{{previous definition}}
template<typename T>
struct test : T {}; // expected-error{{redefinition}}
-#if 0
-// FIXME: parse template declarations in these scopes, so that we can
-// complain about the one at function scope.
class X {
public:
template<typename T> class C;
};
void f() {
- template<typename T> class X;
+ template<typename T> class X; // expected-error{{expression}}
}
-#endif
OpenPOWER on IntegriCloud