f4a2713ac8
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
16 lines
589 B
Objective-C
16 lines
589 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 -fobjc-runtime=gcc -emit-llvm -o %t %s
|
|
// RUN: FileCheck --check-prefix=CHECK-GNU < %t %s
|
|
// CHECK-GNU: NXConstantString
|
|
|
|
// RUN: %clang_cc1 -fobjc-runtime=gcc -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!";
|
|
|