☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
gen-attrs-84.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/gen-attrs-84.C
code
plain
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
};