diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/cpp0x/gen-attrs-59.C')
-rw-r--r-- | gcc/testsuite/g++.dg/cpp0x/gen-attrs-59.C | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/cpp0x/gen-attrs-59.C b/gcc/testsuite/g++.dg/cpp0x/gen-attrs-59.C new file mode 100644 index 0000000000..c7839fefed --- /dev/null +++ b/gcc/testsuite/g++.dg/cpp0x/gen-attrs-59.C @@ -0,0 +1,5 @@ +// PR c++/58600 +// { dg-do compile { target c++11 } } + +namespace N {} +using namespace N alignas(X); // { dg-error "declared" } |