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
In gcc/objc/: 2010-11-13 Nicola Pero <nicola.pero@meta-innovation.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lto
/
20090311-1_1.C
blob
520aa957a98ef8dfc865d64ab11e9d42e09bf07d
1
#include "20090311-1.h"
2
3
struct A {
4
enum { UNO, DOS, TRES } f1_;
5
int x;
6
};
7
8
struct B;
9
10
extern struct B x[];
11
12
struct C {
13
int x;
14
struct B *p;
15
float d;
16
};
17
18
extern A a;
19
extern B b;
20
extern bool flag;
21
extern C c;
22
23
int foo()
24
{
25
if (!flag)
26
return a.x - c.x;
27
return 0;
28
}