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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [obj-c++.dg/] [tls/] [static-1a.mm] - Blame information for rev 703

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 703 jeremybenn
// { dg-skip-if "Additional Source File"  *-*-* "*" ""  }
2
// This is the additional source file for test static-1.mm
3
 
4
struct A
5
{
6
  static __thread int i;
7
};
8
 
9
int
10
test ()
11
{
12
  if (A::i != 8)
13
    return 1;
14
 
15
  A::i = 17;
16
  return 0;
17
}

powered by: WebSVN 2.1.0

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