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
Fix -mod(unsigned, unsigned).
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nsdmi-union5.C
blob
d521b3b762e4ca534bc2560d7317c7657eee66ac
1
// PR c++/58701
2
// { dg-do run { target c++11 } }
3
4
static union
5
{
6
union
7
{
8
int i = 7;
9
};
10
};
11
12
extern "C" void abort(void);
13
int main()
14
{
15
if (i != 7) abort();
16
return 0;
17
}