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", section "__TEXT,__cstring,cstring_literals", align 1 7 8// RUN: %clang_cc1 -fobjc-runtime=gcc -emit-llvm -o %t %s 9// RUN: FileCheck --check-prefix=CHECK-GNU < %t %s 10// CHECK-GNU: NXConstantString 11 12// RUN: %clang_cc1 -fobjc-runtime=gcc -fconstant-string-class NSConstantString -emit-llvm -o %t %s 13// RUN: FileCheck --check-prefix=CHECK-GNU-WITH-CLASS < %t %s 14// CHECK-GNU-WITH-CLASS: NSConstantString 15id a = @"Hello World!"; 16 17