☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
gen-attrs-28.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/gen-attrs-28.C
code
plain
raw
1
// PR c++/28558
2
// { dg-options "" }
3
// { dg-do compile { target c++11 } }
4
5
struct A
6
{
7
A(int) { }
8
};
9
10
int main()
11
{
12
A a = (A [[gnu::unused]])0; // { dg-warning "attribute" }
13
}