1 // RUN: %clang_cc1 -emit-llvm -o %t %s 2 // RUN: FileCheck --check-prefix=CHECK-NEXT < %t %s 3 4 // Check that we set alignment 1 on the string. 5 // 6 // CHECK-NEXT: @.str = {{.*}}constant [13 x i8] c"Hello World!\00", align 1 7 8 // RUN: %clang_cc1 -fgnu-runtime -emit-llvm -o %t %s 9 // RUN: FileCheck --check-prefix=CHECK-GNU < %t %s 10 // CHECK-GNU: NXConstantString 11 // CHECK-GNU-NOT: NXConstantString 12 13 // RUN: %clang_cc1 -fgnu-runtime -fconstant-string-class NSConstantString -emit-llvm -o %t %s 14 // RUN: FileCheck --check-prefix=CHECK-GNU-WITH-CLASS < %t %s 15 // CHECK-GNU-WITH-CLASS: NSConstantString 16 // CHECK-GNU-WITH-CLASS-NOT: NSConstantString 17 id a = @"Hello World!"; 18 19