blob: 9087e4ce7df6668d336940a8e3f089fff507b8c5 [file] [log] [blame]
// RUN: clang %s -verify -fsyntax-only
int main() {
const id foo;
[foo bar]; // expected-warning {{method '-bar' not found (return type defaults to 'id')}}
return 0;
}