projects
/
platform
/
upstream
/
gcc48.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 4.8.1
[platform/upstream/gcc48.git]
/
gcc
/
testsuite
/
gcc.dg
/
gomp
/
tls-2.c
1
/* { dg-do compile } */
2
/* { dg-require-effective-target tls } */
3
4
extern char buf[];
5
#pragma omp threadprivate (buf) /* { dg-error "has incomplete type" } */
6
7
void
8
foo (void)
9
{
10
int i;
11
#pragma omp threadprivate (i) /* { dg-error "automatic variable" } */
12
i = 0;
13
}