1f51a89d39
These were ignored by git accidentally. We want ALL OF THEM since they all came in the llvm/clang source distribution.
17 lines
579 B
Objective-C
17 lines
579 B
Objective-C
// RUN: %clang_cc1 -emit-llvm -o %t %s
|
|
// RUN: FileCheck --check-prefix=CHECK-NEXT < %t %s
|
|
|
|
// Check that we set alignment 1 on the string.
|
|
//
|
|
// CHECK-NEXT: @.str = {{.*}}constant [13 x i8] c"Hello World!\00", align 1
|
|
|
|
// RUN: %clang_cc1 -fgnu-runtime -emit-llvm -o %t %s
|
|
// RUN: FileCheck --check-prefix=CHECK-GNU < %t %s
|
|
// CHECK-GNU: NXConstantString
|
|
|
|
// RUN: %clang_cc1 -fgnu-runtime -fconstant-string-class NSConstantString -emit-llvm -o %t %s
|
|
// RUN: FileCheck --check-prefix=CHECK-GNU-WITH-CLASS < %t %s
|
|
// CHECK-GNU-WITH-CLASS: NSConstantString
|
|
id a = @"Hello World!";
|
|
|