blob: d8a2663093742d788a7af6d9e2708ccd9f50d0b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// RUN: clang -fsyntax-only -verify %s
@interface A
@end
@interface B
@end
void f0(int cond, A *a, B *b) {
// Ensure that we can still send a message to result of incompatible
// conditional expression.
[ (cond ? a : b) test ]; // expected-warning {{method '-test' not found}}
}
|