blob: 812ef97252dc193c541f59e87fc1bdbf06510473 [file] [log] [blame]
Daniel Dunbard7d5f022009-03-24 02:24:46 +00001// RUN: clang-cc -fnext-runtime --emit-llvm -o %t %s
Daniel Dunbarb21d6af2008-09-04 04:36:23 +00002
3@interface A
4@end
5@implementation A
6+(void) foo {
7 printf("__func__: %s\n", __func__);
8 printf("__FUNCTION__: %s\n", __FUNCTION__);
9 printf("__PRETTY_FUNCTION__: %s\n", __PRETTY_FUNCTION__);
10 return 0;
11}
12@end
13
14int main() {
15 [A foo];
16 return 0;
17}