[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / SemaCXX / typo-correction-blocks.c
blob300a5be3969daa9835eb6863fdb641a464bb7f2a
1 // RUN: %clang_cc1 -triple i386-apple-macosx -fblocks -fsyntax-only -verify %s
3 extern int h(int *);
4 extern void g(int, void (^)(void));
5 extern int fuzzys; // expected-note {{'fuzzys' declared here}}
7 static void f(void *v) {
8 g(fuzzy, ^{ // expected-error {{did you mean 'fuzzys'}}
9 int i = h(v);
10 });