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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [objc.dg/] [tls/] [init-2.m] - Blame information for rev 704

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 704 jeremybenn
/* Invalid initializations.  */
2
/* { dg-require-effective-target tls } */
3
 
4
extern __thread int i;
5
__thread int *p = &i;   /* { dg-error "initializer element is not constant" } */
6
 
7
extern int f();
8
__thread int j = f();   /* { dg-error "initializer element is not constant" } */
9
 
10
struct S
11
{
12
  S();                  /* { dg-error "expected specifier-qualifier-list before 'S'" } */
13
};
14
__thread S s;           /* { dg-error "unknown type name" } */

powered by: WebSVN 2.1.0

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