mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-19 01:13:25 +00:00
0d90e5d08b
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64838 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
510 B
Objective-C
14 lines
510 B
Objective-C
// RUN: %llvmgcc -x objective-c -S %s -g --emit-llvm -o - | grep "dbg.compile_unit =" | grep "null, i32"
|
|
// Last parameter represent i32 runtime version id. The previous paramenter
|
|
// encodes command line flags when certain env. variables are set. In this
|
|
// example it is the only compile_unit parameter that is null. This test case
|
|
// tests existence of new additional compile_unit parameter to encode
|
|
// Objective-C runtime version number.
|
|
|
|
@interface foo
|
|
@end
|
|
@implementation foo
|
|
@end
|
|
|
|
void fn(foo *f) {}
|