summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/hidden-visibility.c
blob: 65e6616ef19f8cbe50dcd2596da2328be6208789 (about) (plain)
1
2
3
4
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s

// CHECK: hidden global
int X __attribute__ ((__visibility__ ("hidden"))) = 123;