1 // RUN: %clang_cc1 -fsyntax-only -verify %s 2 3 #pragma GCC visibility foo // expected-warning{{expected identifier in '#pragma visibility' - ignored}} 4 #pragma GCC visibility pop foo // expected-warning{{extra tokens at end of '#pragma visibility' - ignored}} 5 #pragma GCC visibility push // expected-warning{{missing '(' after '#pragma visibility'}} 6 #pragma GCC visibility push( // expected-warning{{expected identifier in '#pragma visibility' - ignored}} 7 #pragma GCC visibility push(hidden // expected-warning{{missing ')' after '#pragma visibility' - ignoring}} 8 #pragma GCC visibility push(hidden) 9 #pragma GCC visibility pop 10