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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [init/] [self1.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/29106
2
// { dg-do run }
3
 
4
int i;
5
 
6
void f(__SIZE_TYPE__) {
7
  i = 3;
8
}
9
 
10
 
11
int main()
12
{
13
  int* const savepos = sizeof(*savepos) ? 0 : 0;
14
 
15
  f (sizeof (*savepos));
16
 
17
  if (i != 3)
18
    return 1;
19
}

powered by: WebSVN 2.1.0

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