| commit | ec852d908f453e1c97a85fe0292774d519d39914 | [log] [tgz] |
|---|---|---|
| author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Mon Jul 22 18:13:54 2013 +0000 |
| committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Mon Jul 22 18:13:54 2013 +0000 |
| tree | e51b6b8cf65df277ae1b6159ce8b917fe70e1914 | |
| parent | ccf0151b716c3c9580a30521a4ffffeebfd53e83 [diff] [blame] |
[arcmt] Only disable ARC in the second compilation if there were actually ARC errors in the checking phase. rdar://14490204 llvm-svn: 186850
diff --git a/clang/test/ARCMT/checking-in-arc.m b/clang/test/ARCMT/checking-in-arc.m index 5a1b3d3..0b6c3d1 100644 --- a/clang/test/ARCMT/checking-in-arc.m +++ b/clang/test/ARCMT/checking-in-arc.m
@@ -45,3 +45,7 @@ @implementation Test @end + +#if ! __has_feature(objc_arc) +#error This file must be compiled with ARC (set -fobjc_arc flag on file) +#endif