[cfe-commits] r155204 - in /cfe/trunk/test: CodeGenObjC/objc-literal-debugger-test.m Rewriter/objc-modern-boxing.mm
Fariborz Jahanian
fjahanian at apple.com
Fri Apr 20 10:07:08 PDT 2012
Author: fjahanian
Date: Fri Apr 20 12:07:07 2012
New Revision: 155204
URL: http://llvm.org/viewvc/llvm-project?rev=155204&view=rev
Log:
minor improvement to couple of tests.
Modified:
cfe/trunk/test/CodeGenObjC/objc-literal-debugger-test.m
cfe/trunk/test/Rewriter/objc-modern-boxing.mm
Modified: cfe/trunk/test/CodeGenObjC/objc-literal-debugger-test.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/objc-literal-debugger-test.m?rev=155204&r1=155203&r2=155204&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjC/objc-literal-debugger-test.m (original)
+++ cfe/trunk/test/CodeGenObjC/objc-literal-debugger-test.m Fri Apr 20 12:07:07 2012
@@ -24,6 +24,8 @@
b = @(__objc_yes);
b = @(__objc_no);
b = @("hello");
+#else
+#error "boxed expressions not supported"
#endif
}
Modified: cfe/trunk/test/Rewriter/objc-modern-boxing.mm
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Rewriter/objc-modern-boxing.mm?rev=155204&r1=155203&r2=155204&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/objc-modern-boxing.mm (original)
+++ cfe/trunk/test/Rewriter/objc-modern-boxing.mm Fri Apr 20 12:07:07 2012
@@ -1,7 +1,7 @@
// RUN: %clang_cc1 -E %s -o %t.mm
// RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %t.mm -o - | FileCheck %s
// RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %t.mm -o %t-rw.cpp
-// RUN: %clang_cc1 -fsyntax-only -fblocks -Wno-address-of-temporary -D"Class=void*" -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp -Wno-attributes -Werror
+// RUN: %clang_cc1 -fsyntax-only -Werror -Wno-address-of-temporary -D"Class=void*" -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp -Wno-attributes
extern char *strdup(const char *str);
extern "C" void *sel_registerName(const char *);
More information about the cfe-commits
mailing list