1 | // RUN: %clang_cc1 -emit-llvm -o %t %s |
---|---|
2 | |
3 | @protocol NSObject |
4 | - (void *)description; |
5 | @end |
6 | |
7 | int main() |
8 | { |
9 | id<NSObject> eggs; |
10 | void *eggsText= eggs.description; |
11 | } |
12 |
1 | // RUN: %clang_cc1 -emit-llvm -o %t %s |
---|---|
2 | |
3 | @protocol NSObject |
4 | - (void *)description; |
5 | @end |
6 | |
7 | int main() |
8 | { |
9 | id<NSObject> eggs; |
10 | void *eggsText= eggs.description; |
11 | } |
12 |