// RUN: %clang_cc1 -triple x86_64-apple-macos10.7.0 -verify -fopenmp -fnoopenmp-use-tls -ferror-limit 100 -emit-llvm -o - %s
// RUN: %clang_cc1 -triple x86_64-apple-macos10.7.0 -verify -fopenmp -ferror-limit 100 -emit-llvm -o - %s
// RUN: %clang_cc1 -triple x86_64-apple-macos10.7.0 -verify -fopenmp-simd -fnoopenmp-use-tls -ferror-limit 100 -emit-llvm -o - %s
// RUN: %clang_cc1 -triple x86_64-apple-macos10.7.0 -verify -fopenmp-simd -ferror-limit 100 -emit-llvm -o - %s
;
d; // expected-note {{'d' defined here}}
int a; // expected-note {{'a' defined here}}
int
// expected-warning@-1 {{extra tokens at the end of '#pragma omp threadprivate' are ignored}}
int x, y;
// expected-warning@-1 {{extra tokens at the end of '#pragma omp threadprivate' are ignored}}
int foa; // expected-note {{'foa' declared here}}
; // expected-note {{forward declaration of 'IncompleteSt'}}
extern IncompleteSt e;
int &f = a; // expected-note {{'f' defined here}}
;
const int h = 12;
const volatile int i = 10;
;
static __thread int t; // expected-note {{'t' defined here}}
// Register "0" is currently an invalid register for global register variables.
// Use "esp" instead of "0".
// register int reg0 __asm__("0");
register int reg0 __asm__; // expected-note {{'reg0' defined here}}
int o; // expected-note {{candidate found by name lookup is 'o'}}
int