blob: d835ed827b33a5c1adfbef52deac2bf023ca917a [file] [log] [blame]
Daniel Dunbarb21d6af2008-09-04 04:36:23 +00001// RUN: clang -fnext-runtime --emit-llvm -o %t %s
2
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}