merge two tests.

llvm-svn: 69466
This commit is contained in:
Chris Lattner 2009-04-18 20:12:56 +00:00
parent 96b3139773
commit b0cb5b2db2
2 changed files with 5 additions and 7 deletions

View File

@ -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}}
}

View File

@ -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}}
}