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
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
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