1 2 3 4 5 6 7 8
// 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; }