diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-10-01 00:19:43 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-10-01 00:19:43 +0000 |
| commit | dd0bc7b560d081d49874991e94317ac8df97eae9 (patch) | |
| tree | 3c1bb688a053a7a1c771414dcff70aff829359ad /clang/test/SemaCXX/cxx98-compat-pedantic.cpp | |
| parent | cc363a78ac14d5cd560c29a337d726fa5c4e8ed8 (diff) | |
| download | bcm5719-llvm-dd0bc7b560d081d49874991e94317ac8df97eae9.tar.gz bcm5719-llvm-dd0bc7b560d081d49874991e94317ac8df97eae9.zip | |
Remove support for arrays of runtime bound in C++1y, now they have been voted
out of the working paper. This reverts r179962 and r179992.
llvm-svn: 191718
Diffstat (limited to 'clang/test/SemaCXX/cxx98-compat-pedantic.cpp')
| -rw-r--r-- | clang/test/SemaCXX/cxx98-compat-pedantic.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/test/SemaCXX/cxx98-compat-pedantic.cpp b/clang/test/SemaCXX/cxx98-compat-pedantic.cpp index 50ce6a49002..b74dcb4238a 100644 --- a/clang/test/SemaCXX/cxx98-compat-pedantic.cpp +++ b/clang/test/SemaCXX/cxx98-compat-pedantic.cpp @@ -51,8 +51,3 @@ int k = 0b1001; #ifdef CXX1Y // expected-warning@-2 {{binary integer literals are incompatible with C++ standards before C++1y}} #endif - -void f(int n) { int a[n]; } -#ifdef CXX1Y -// expected-warning@-2 {{arrays of runtime bound are incompatible with C++ standards before C++1y}} -#endif |

