summaryrefslogtreecommitdiff
path: root/test/Parser
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-11-08 21:51:24 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-11-08 21:51:24 +0000
commit0464e09c7ba8e436e6caed06b0377cdeddc3e3ec (patch)
tree39e641df2652b52c39ed8ee5411adc8af1540763 /test/Parser
parent152eee9f81f1b4f00e1bce655903fc78cafb1342 (diff)
downloadclang-0464e09c7ba8e436e6caed06b0377cdeddc3e3ec.tar.gz
Fix %select numbering confusion between diagnostic and Diag call.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194281 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Parser')
-rw-r--r--test/Parser/cxx-template-decl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Parser/cxx-template-decl.cpp b/test/Parser/cxx-template-decl.cpp
index 7200c9d78f..7dcf482fd3 100644
--- a/test/Parser/cxx-template-decl.cpp
+++ b/test/Parser/cxx-template-decl.cpp
@@ -116,6 +116,7 @@ void f2() {
// PR3844
template <> struct S<int> { }; // expected-error{{explicit specialization of non-template struct 'S'}}
+template <> union U<int> { }; // expected-error{{explicit specialization of non-template union 'S'}}
namespace PR6184 {
namespace N {