forked from OSchip/llvm-project
parent
96b3139773
commit
b0cb5b2db2
|
@ -113,3 +113,8 @@ void test11(int i) {
|
|||
}
|
||||
|
||||
|
||||
void (^test12f)(void);
|
||||
void test12() {
|
||||
test12f = ^test12f; // expected-error {{type name requires a specifier or qualifier}} expected-error {{expected expression}}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
// RUN: clang-cc %s -fsyntax-only -verify -fblocks
|
||||
|
||||
void (^noop)(void);
|
||||
|
||||
void somefunction() {
|
||||
noop = ^noop; // expected-error {{type name requires a specifier or qualifier}} expected-error {{expected expression}}
|
||||
}
|
Loading…
Reference in New Issue