Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Index / symbol-visibility.c
blob4a8179dddff309602e7570fdc4c6e7d35f8cf655
1 // RUN: c-index-test -test-print-visibility -fvisibility=default %s | FileCheck %s
3 __attribute__ ((visibility ("default"))) void foo1();
4 __attribute__ ((visibility ("hidden"))) void foo2();
6 // CHECK: FunctionDecl=foo1:3:47visibility=Default
7 // CHECK: FunctionDecl=foo2:4:46visibility=Hidden