Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/gen-attrs-84.C

raw
1 // { dg-do compile { target c++11 } }
2
3 struct A {
4 [[]]; // { dg-error "declaration does not declare anything" }
5 };
6 struct B {
7 [[gnu::deprecated]]; // { dg-error "declaration does not declare anything" }
8 };