[cfe-commits] r69466 - in /cfe/trunk/test/Sema: block-misc.c block-syntax-error.c
Chris Lattner
sabre at nondot.org
Sat Apr 18 13:12:57 PDT 2009
Author: lattner
Date: Sat Apr 18 15:12:56 2009
New Revision: 69466
URL: http://llvm.org/viewvc/llvm-project?rev=69466&view=rev
Log:
merge two tests.
Removed:
cfe/trunk/test/Sema/block-syntax-error.c
Modified:
cfe/trunk/test/Sema/block-misc.c
Modified: cfe/trunk/test/Sema/block-misc.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/block-misc.c?rev=69466&r1=69465&r2=69466&view=diff
==============================================================================
--- cfe/trunk/test/Sema/block-misc.c (original)
+++ cfe/trunk/test/Sema/block-misc.c Sat Apr 18 15:12:56 2009
@@ -113,3 +113,8 @@
}
+void (^test12f)(void);
+void test12() {
+ test12f = ^test12f; // expected-error {{type name requires a specifier or qualifier}} expected-error {{expected expression}}
+}
+
Removed: cfe/trunk/test/Sema/block-syntax-error.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/block-syntax-error.c?rev=69465&view=auto
==============================================================================
--- cfe/trunk/test/Sema/block-syntax-error.c (original)
+++ cfe/trunk/test/Sema/block-syntax-error.c (removed)
@@ -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}}
-}
More information about the cfe-commits
mailing list