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
doc: Remove i?86-*-linux* installation note from 2003
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
abi
/
empty27.C
blob
5d14e7c6a03226428abdc11c55511eaea073fda4
1
// PR c++/60336
2
// { dg-do compile }
3
// { dg-options "-Wabi=12" }
4
5
struct foo
6
{
7
int i1;
8
int i2;
9
int i3;
10
int i4;
11
int i5;
12
};
13
14
namespace N {
15
class E { };
16
void fun (class E, struct foo);
17
}
18
19
int main()
20
{
21
N::E d;
22
struct foo f = { -1, -2, -3, -4, -5 };
23
24
N::fun(d, f); // { dg-bogus "empty" }
25
return 0;
26
}