llvm-project/clang/test/CodeGen/hidden-visibility.c

5 lines
156 B
C

// RUN: %clang_cc1 %s -fvisibility default -emit-llvm -o - | FileCheck %s
// CHECK: hidden global
int X __attribute__ ((__visibility__ ("hidden"))) = 123;