forked from OSchip/llvm-project
13 lines
285 B
Plaintext
13 lines
285 B
Plaintext
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s
|
|
|
|
@interface NSNumber
|
|
+ (id)numberWithInt:(int)n;
|
|
@end
|
|
|
|
int n = 1;
|
|
int m = (@(n++), 0);
|
|
|
|
// CHECK: define {{.*}} @__cxx_global_var_init()
|
|
// CHECK: load i32, i32* @n
|
|
// CHECK: store i32 %{{.*}}, i32* @n
|