]> granicus.if.org Git - clang/commitdiff
De-FIXME a test
authorDouglas Gregor <dgregor@apple.com>
Thu, 5 Nov 2009 20:02:41 +0000 (20:02 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 5 Nov 2009 20:02:41 +0000 (20:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86166 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaTemplate/class-template-decl.cpp

index d2e90c1daa8fe64a441f59e1799dbcf0e15c3c84..8c717ea16e18ed0a86da9c5776aa042faa420b75 100644 (file)
@@ -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