Home | History | Annotate | Download | only in SemaCXX
      1 // RUN: %clang_cc1 -triple i386-apple-macosx -fblocks -fsyntax-only -verify %s
      2 
      3 extern int h(int *);
      4 extern void g(int, void (^)(void));
      5 extern int fuzzys;                  // expected-note {{'fuzzys' declared here}}
      6 
      7 static void f(void *v) {
      8   g(fuzzy, ^{                       // expected-error {{did you mean 'fuzzys'}}
      9     int i = h(v);
     10   });
     11 }
     12 
     13