diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2010-03-04 21:57:21 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2010-03-04 21:57:21 +0000 |
commit | 7c7e349c998240afc1d41815a5ea8cf99545945b (patch) | |
tree | 40f7f388677a59bce498772041b603f6e3abd5a4 | |
parent | 8611eb02e8296bd31ffa31b6eafefd76dd1e299c (diff) |
Change test to compile rewritten test with clang++.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97756 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Rewriter/rewrite-byref-vars.mm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Rewriter/rewrite-byref-vars.mm b/test/Rewriter/rewrite-byref-vars.mm index 58b925a2b2..007ab43d09 100644 --- a/test/Rewriter/rewrite-byref-vars.mm +++ b/test/Rewriter/rewrite-byref-vars.mm @@ -1,4 +1,5 @@ -// RUN: %clang_cc1 -fms-extensions -rewrite-objc -x objective-c++ -fblocks -o - %s +// RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc %s -o %t-rw.cpp +// RUN: %clang_cc1 -fsyntax-only -fblocks -Wno-address-of-temporary -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp // radar 7540194 extern "C" __declspec(dllexport) void BreakTheRewriter(int i) { |