OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [lto/] [20090311-1_1.C] - Blame information for rev 751

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
#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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.