repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[flang] Don't needlessly instantiate distinct UNSIGNED cases for FINDLOC (#120471)
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
private-extern.c
blob
a468811689fb1bdcf982a862db8e1b0b48738ca4
1
// RUN: %clang_cc1 -fvisibility=default -emit-llvm -o - %s | FileCheck %s
2
3
// CHECK-DAG: @g0 = external hidden constant i32
4
// CHECK-DAG: @g1 = hidden constant i32 1
5
6
__private_extern__
const int
g0
;
7
__private_extern__
const int
g1
=
1
;
8
9
int
f0
(
void
) {
10
return
g0
;
11
}