[cfe-commits] r44918 - in /cfe/trunk/test/Sema: invalid-decl.c method-def-1.m
Chris Lattner
sabre at nondot.org
Tue Dec 11 22:22:14 PST 2007
Author: lattner
Date: Wed Dec 12 00:22:14 2007
New Revision: 44918
URL: http://llvm.org/viewvc/llvm-project?rev=44918&view=rev
Log:
add run lines.
Modified:
cfe/trunk/test/Sema/invalid-decl.c
cfe/trunk/test/Sema/method-def-1.m
Modified: cfe/trunk/test/Sema/invalid-decl.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/invalid-decl.c?rev=44918&r1=44917&r2=44918&view=diff
==============================================================================
--- cfe/trunk/test/Sema/invalid-decl.c (original)
+++ cfe/trunk/test/Sema/invalid-decl.c Wed Dec 12 00:22:14 2007
@@ -1,3 +1,4 @@
+// RUN: clang %s -fsyntax-only -verify
void test() {
char = 4; // expected-error {{expected identifier}} expected-error{{declarator requires an identifier}}
Modified: cfe/trunk/test/Sema/method-def-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/method-def-1.m?rev=44918&r1=44917&r2=44918&view=diff
==============================================================================
--- cfe/trunk/test/Sema/method-def-1.m (original)
+++ cfe/trunk/test/Sema/method-def-1.m Wed Dec 12 00:22:14 2007
@@ -1,3 +1,5 @@
+// RUN: clang -fsyntax-only %s
+
@interface foo
- (int)meth;
@end
More information about the cfe-commits
mailing list