1 // RUN: %clang_cc1 %s -verify
2 extern groupshared
float f
; // expected-error{{unknown type name 'groupshared'}}
4 extern float groupshared f2
; // expected-error{{expected ';' after top level declarator}}
7 float groupshared
[[]] f3
= 12; // expected-error{{expected ';' after top level declarator}}
10 // expected-error@#fgc{{expected ';' after top level declarator}}
11 // expected-error@#fgc{{a type specifier is required for all declarations}}
12 float groupshared
const f4
= 12; // #fgc