Timur Iskhodzhanov | ad47776 | 2014-01-30 01:01:36 +0000 | [diff] [blame^] | 1 | // FIXME: Check IR rather than asm, then triple is not needed. |
2 | // RUN: %clang_cc1 -triple %itanium_abi_triple -masm-verbose -S -g %s -o - | FileCheck %s | ||||
Devang Patel | e91b54c | 2011-05-12 21:29:57 +0000 | [diff] [blame] | 3 | // CHECK: AT_APPLE_objc_complete_type |
Devang Patel | 36882c8 | 2011-05-12 19:07:41 +0000 | [diff] [blame] | 4 | |
5 | @interface Foo {} @end | ||||
6 | |||||
7 | @interface Foo () { | ||||
8 | int *bar; | ||||
9 | } | ||||
10 | @end | ||||
11 | |||||
12 | @implementation Foo | ||||
13 | @end | ||||
14 | |||||
15 | void bar(Foo *fptr) {} |