llvm-6502/test/FrontendObjC/2011-03-02-ConstCFStringLiteralAlign.m
Bill Wendling f27a40a971 Check the ASM, not LLVM IR.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126918 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-03 02:02:12 +00:00

12 lines
280 B
Objective-C

// RUN: %llvmgcc -S -w -m64 -mmacosx-version-min=10.5 %s -o - | \
// RUN: llc --disable-fp-elim -o - | FileCheck %s
// XFAIL: *
// XTARGET: darwin
@interface Foo
@end
Foo *FooName = @"FooBar";
// CHECK: .section __TEXT,__cstring,cstring_literals
// CHECK-NEXT: L_.str: