diff options
author | dim <dim@FreeBSD.org> | 2014-11-24 09:15:30 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2014-11-24 09:15:30 +0000 |
commit | 173a4f43a911175643bda81ee675e8d9269056ea (patch) | |
tree | 47df2c12b57214af6c31e47404b005675b8b7ffc /test/Driver/std.cpp | |
parent | 88f7a7d5251a2d813460274c92decc143a11569b (diff) | |
download | FreeBSD-src-173a4f43a911175643bda81ee675e8d9269056ea.zip FreeBSD-src-173a4f43a911175643bda81ee675e8d9269056ea.tar.gz |
Vendor import of clang RELEASE_350/final tag r216957 (effectively, 3.5.0 release):
https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_350/final@216957
Diffstat (limited to 'test/Driver/std.cpp')
-rw-r--r-- | test/Driver/std.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Driver/std.cpp b/test/Driver/std.cpp index e98fd2c..aceda01 100644 --- a/test/Driver/std.cpp +++ b/test/Driver/std.cpp @@ -7,6 +7,8 @@ // RUN: not %clang -std=gnu++11 %s -fsyntax-only 2>&1 | FileCheck -check-prefix=GNUXX11 %s // RUN: not %clang -std=c++1y %s -fsyntax-only 2>&1 | FileCheck -check-prefix=CXX1Y %s // RUN: not %clang -std=gnu++1y %s -fsyntax-only 2>&1 | FileCheck -check-prefix=GNUXX1Y %s +// RUN: not %clang -std=c++1z %s -fsyntax-only 2>&1 | FileCheck -check-prefix=CXX1Z %s +// RUN: not %clang -std=gnu++1z %s -fsyntax-only 2>&1 | FileCheck -check-prefix=GNUXX1Z %s void f(int n) { typeof(n)(); @@ -30,3 +32,9 @@ void f(int n) { // GNUXX1Y-NOT: undeclared identifier 'typeof' // GNUXX1Y-NOT: undeclared identifier 'decltype' + +// CXX1Z: undeclared identifier 'typeof' +// CXX1Z-NOT: undeclared identifier 'decltype' + +// GNUXX1Z-NOT: undeclared identifier 'typeof' +// GNUXX1Z-NOT: undeclared identifier 'decltype' |