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
libgfortran: Fix namelist read.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
pr85039-2.C
blob
e6d16325105ba2899b8b0271fd1d36ac82429141
1
// { dg-do compile }
2
3
struct d {
4
static d *b;
5
} * d::b(__builtin_offsetof(struct { // { dg-error "types may not be defined" }
6
int i;
7
struct a { // { dg-error "types may not be defined" }
8
int c() { return .1f; }
9
};
10
}, i));