Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
7d878eb7f340a6995bd3414ba6cbdfcfdb1e8a76
/
.
/
test
/
CodeGen
/
private-extern.c
blob: f3ffe5461d06d0a107a9c902bfa8e43f29eeda01 [
file
] [
log
] [
blame
]
// RUN: clang-cc -emit-llvm -o %t %s &&
// RUN: grep '@g0 = external hidden constant i32' %t &&
// RUN: grep '@g1 = hidden constant i32 1' %t
__private_extern__
const
int
g0
;
__private_extern__
const
int
g1
=
1
;
int
f0
(
void
)
{
return
g0
;
}