diff options
Diffstat (limited to 'test/CXX/drs/dr1xx.cpp')
-rw-r--r-- | test/CXX/drs/dr1xx.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/CXX/drs/dr1xx.cpp b/test/CXX/drs/dr1xx.cpp index 6aff43c6a488..cc6c5af81708 100644 --- a/test/CXX/drs/dr1xx.cpp +++ b/test/CXX/drs/dr1xx.cpp @@ -1,10 +1,11 @@ // RUN: %clang_cc1 -std=c++98 -triple x86_64-unknown-unknown %s -verify -fexceptions -fcxx-exceptions -pedantic-errors // RUN: %clang_cc1 -std=c++11 -triple x86_64-unknown-unknown %s -verify -fexceptions -fcxx-exceptions -pedantic-errors -// RUN: %clang_cc1 -std=c++1y -triple x86_64-unknown-unknown %s -verify -fexceptions -fcxx-exceptions -pedantic-errors +// RUN: %clang_cc1 -std=c++14 -triple x86_64-unknown-unknown %s -verify -fexceptions -fcxx-exceptions -pedantic-errors +// RUN: %clang_cc1 -std=c++1z -triple x86_64-unknown-unknown %s -verify -fexceptions -fcxx-exceptions -pedantic-errors namespace dr100 { // dr100: yes - template<const char *> struct A {}; // expected-note {{declared here}} - template<const char (&)[4]> struct B {}; // expected-note {{declared here}} + template<const char *> struct A {}; // expected-note 0-1{{declared here}} + template<const char (&)[4]> struct B {}; // expected-note 0-1{{declared here}} A<"foo"> a; // expected-error {{does not refer to any declaration}} B<"bar"> b; // expected-error {{does not refer to any declaration}} } |