xref: /minix3/external/bsd/llvm/dist/clang/test/FixIt/bridge-in-non-arc.m (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc// RUN: %clang_cc1 -triple x86_64-apple-darwin10  -fdiagnostics-parseable-fixits %s 2>&1 | FileCheck %s
2*f4a2713aSLionel Sambuc
3*f4a2713aSLionel Sambuc@interface I
4*f4a2713aSLionel Sambuc@end
5*f4a2713aSLionel Sambuc
6*f4a2713aSLionel Sambucvoid foo(void *p) {
7*f4a2713aSLionel Sambuc  I *i = (__bridge_transfer I*)p;
8*f4a2713aSLionel Sambuc  I *i2 = (__bridge_transfer/*cake*/I*)p;
9*f4a2713aSLionel Sambuc}
10*f4a2713aSLionel Sambuc
11*f4a2713aSLionel Sambuc// CHECK: {7:11-7:29}:""
12*f4a2713aSLionel Sambuc// CHECK: {8:12-8:29}:""
13