[Flang] remove whole-archive option for AIX linker (#76039)
[llvm-project.git] / clang / test / ParserOpenACC / unimplemented.c
blobbe8e62b5811789588e5c4fbf99343de98f57566e
1 // RUN: %clang_cc1 %s -verify -fopenacc
3 // Parser::ParseExternalDeclaration
4 // expected-error@+3{{invalid OpenACC directive 'havent'}}
5 // expected-error@+2{{invalid OpenACC clause 'implemented'}}
6 // expected-warning@+1{{OpenACC directives not yet implemented, pragma ignored}}
7 #pragma acc havent implemented
8 int foo;
10 struct S {
11 // Parser::ParseStructUnionBody
12 // expected-error@+3{{invalid OpenACC directive 'havent'}}
13 // expected-error@+2{{invalid OpenACC clause 'implemented'}}
14 // expected-warning@+1{{OpenACC directives not yet implemented, pragma ignored}}
15 #pragma acc havent implemented
16 int foo;
19 void func() {
20 // Parser::ParseStmtOrDeclarationAfterAttributes
21 // expected-error@+3{{invalid OpenACC directive 'havent'}}
22 // expected-error@+2{{invalid OpenACC clause 'implemented'}}
23 // expected-warning@+1{{OpenACC directives not yet implemented, pragma ignored}}
24 #pragma acc havent implemented
25 while(0) {}