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
PR c++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nsdmi-union2.C
blob
069232755f9973bf7477f7c217198c4e351543d8
1
// PR c++/52377
2
// { dg-require-effective-target c++11 }
3
4
union A // { dg-error "multiple" }
5
{
6
int i = 4;
7
int j = 2;
8
};
9
10
A a;
11
12
union B
13
{
14
int i,j;
15
B(): i(1), j(2) {} // { dg-error "multiple" }
16
};
17
18
B b;