diff options
Diffstat (limited to 'test/SemaTemplate/instantiate-anonymous-union.cpp')
-rw-r--r-- | test/SemaTemplate/instantiate-anonymous-union.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/SemaTemplate/instantiate-anonymous-union.cpp b/test/SemaTemplate/instantiate-anonymous-union.cpp index 2c1e9d4c19..375c1da3ca 100644 --- a/test/SemaTemplate/instantiate-anonymous-union.cpp +++ b/test/SemaTemplate/instantiate-anonymous-union.cpp @@ -1,6 +1,4 @@ -// RUN: clang-cc -fsyntax-only %s - -// FIXME: We need to test anonymous structs/unions in templates for real. +// RUN: clang-cc -fsyntax-only %s -Wall template <typename T> class A { struct { }; }; @@ -30,4 +28,4 @@ template <typename T> struct C { C(void* b) : b(b) { } }; -C<int> c0; +C<int> c0(0); |