Daniel Dunbar | 455cc33 | 2009-02-20 23:09:27 +0000 | [diff] [blame^] | 1 | // RUN: clang -arch i386 -emit-llvm -o %t %s && |
2 | // RUN: grep '@_Z2f0i' %t && | ||||
3 | // RUN: grep '@_Z2f0l' %t | ||||
4 | |||||
5 | // Make sure we mangle overloadable, even in C system headers. | ||||
6 | |||||
7 | # 1 "somesystemheader.h" 1 3 4 | ||||
8 | void __attribute__((__overloadable__)) f0(int a) {} | ||||
9 | void __attribute__((__overloadable__)) f0(long b) {} |