Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
1b497f26ab7861b22383b22f35cf799c0b312c9b
/
.
/
test
/
CodeGen
/
private-extern.c
blob: 2d34d543213d9aca7db0a980801902a07b65c37a [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -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
;
}