blob: fbee4122d12173867f2c6378fa77881ceb8efb08 [file] [log] [blame]
Daniel Dunbar455cc332009-02-20 23:09:27 +00001// 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
8void __attribute__((__overloadable__)) f0(int a) {}
9void __attribute__((__overloadable__)) f0(long b) {}