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
[31/77] Use scalar_int_mode for move2add
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
offset1.C
blob
a918baab8d196529781b4b5a260e61faf585c0de
1
// { dg-do assemble }
2
// PRMS Id: 5070 (testcase 1)
3
4
struct foo {
5
foo(int x = 0) {}
6
int IsAlive(void) { return 1; }
7
};
8
9
struct xx {
10
int IsOk(int X);
11
foo a;
12
};
13
14
int xx::IsOk(int X)
15
{
16
return ((xx::a).IsAlive()); // { dg-bogus "" }
17
}