repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
CodeGenObjCXX
/
boxing.mm
blob
b9b9636daade400477a3310d571c7f2f29fa9e37
1
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s
2
3
@interface NSNumber
4
+ (id)numberWithInt:(int)n;
5
@end
6
7
int n = 1;
8
int m = (@(n++), 0);
9
10
// CHECK: define {{.*}} @__cxx_global_var_init()
11
// CHECK: load i32, ptr @n
12
// CHECK: store i32 %{{.*}}, ptr @n