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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
CodeGenCXX
/
externc-used-not-replaced.cpp
blob
133b3a66c53f4c58341cf0b263af349ffc88e353
1
// RUN: %clang_cc1 -triple x86_64-windows -emit-llvm -o - %s | FileCheck %s
2
3
extern
"C"
{
4
const char
a
__attribute__
((
used
)){};
5
}
6
7
// CHECK: @a = internal constant i8 0
8
// CHECK: @llvm.used = appending global [1 x ptr] [ptr @a]