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
tree-optimization/116907 - stale BLOCK reference from DECL_VALUE_EXPR
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
attrib18.C
blob
ab9fea0950cbdcbe18d051ea4f50002a221a41c2
1
// PR c++/17542
2
// Test that we warn when an attribute preceding the class-key is ignored.
3
// { dg-do compile }
4
5
__attribute__ ((packed)) struct A // { dg-warning "attribute" }
6
{
7
char c;
8
int x;
9
void f();
10
};