Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGenObjC / stand-alone-implementation.m
blob120840bb14d2dd6a0c73a5e3a5fb0e154a0eac3b
1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck -check-prefix=CHECK-X86-64 %s
3 // Allow injection of ivars into implementation's implicit class.
5 @implementation INTFSTANDALONE // expected-warning {{cannot find interface declaration for 'INTFSTANDALONE'}}
7   id IVAR1;
8   id IVAR2;
10 - (id) Meth { return IVAR1; }
11 @end
13 // CHECK-X86-64: @"OBJC_IVAR_$_INTFSTANDALONE.IVAR1"
14 // CHECK-X86-64: @"OBJC_IVAR_$_INTFSTANDALONE.IVAR2"