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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/42010
2
// { dg-final { scan-assembler "ZZN1A1fEvE1s" } }
3
 
4
struct A {
5
  static int f()
6
  {
7
    static struct {
8
      int i;
9
    } s;
10
    return s.i;
11
  }
12
};
13
 
14
int main()
15
{
16
  return A::f();
17
}

powered by: WebSVN 2.1.0

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