commit | 02022f46ba6ab48c7a3f43dea73108576de2b00f | [log] [tgz] |
---|---|---|
author | Daniel Dunbar <daniel@zuster.org> | Fri Apr 10 21:23:20 2009 +0000 |
committer | Daniel Dunbar <daniel@zuster.org> | Fri Apr 10 21:23:20 2009 +0000 |
tree | a6f2f470e3ee43f29218998492375438e96411f4 | |
parent | 555589dd0121da04544e5b6a2049aed005f46d78 [diff] [blame] |
Force triple for a number of tests that rely on __weak. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68826 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/SemaObjC/objc2-warn-weak-decl.m b/test/SemaObjC/objc2-warn-weak-decl.m index a52ce88..5de52ba 100644 --- a/test/SemaObjC/objc2-warn-weak-decl.m +++ b/test/SemaObjC/objc2-warn-weak-decl.m
@@ -1,4 +1,4 @@ -// RUN: clang-cc -fsyntax-only -fobjc-gc -verify %s +// RUN: clang-cc -triple i386-apple-darwin9 -fsyntax-only -fobjc-gc -verify %s struct S { __weak id p; // expected-warning {{__weak attribute cannot be specified on a field declaration}} };