Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / Parser / pragma-visibility.c
blobcfc3d9eccd8638059003be0213ca44fce219d7b7
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
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