repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
gen-attrs-28.C
blob
94f1756ae2bf220cf72905d1591ed63b619c22b7
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
}