xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-linkagename.m (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc// RUN: %clang_cc1  -g -S -o %t %s
2*f4a2713aSLionel Sambuc// RUN: not grep "001-[F bar" %t
3*f4a2713aSLionel Sambuc// Linkage name should not use 001 prefix in debug info.
4*f4a2713aSLionel Sambuc
5*f4a2713aSLionel Sambuc@interface F
6*f4a2713aSLionel Sambuc-(int) bar;
7*f4a2713aSLionel Sambuc@end
8*f4a2713aSLionel Sambuc
9*f4a2713aSLionel Sambuc@implementation F
10*f4a2713aSLionel Sambuc-(int) bar {
11*f4a2713aSLionel Sambuc	return 42;
12*f4a2713aSLionel Sambuc}
13*f4a2713aSLionel Sambuc@end
14*f4a2713aSLionel Sambuc
15*f4a2713aSLionel Sambucextern int f(F *fn) {
16*f4a2713aSLionel Sambuc	return [fn bar];
17*f4a2713aSLionel Sambuc}
18*f4a2713aSLionel Sambuc
19