forked from OSchip/llvm-project
These test now run in objective-c++ mode we well.
llvm-svn: 104041
This commit is contained in:
parent
7bcc9e9450
commit
87b915a9bc
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -verify -fblocks -fobjc-gc-only %s
|
||||
// RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin10 -fsyntax-only -verify -fblocks -fobjc-gc-only %s
|
||||
|
||||
@interface Thing {}
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_cc1 -triple i386-apple-darwin9 -fsyntax-only -fobjc-gc -verify %s
|
||||
// RUN: %clang_cc1 -x objective-c++ -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}}
|
||||
};
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_cc1 -fobjc-gc -fsyntax-only -verify %s
|
||||
// RUN: %clang_cc1 -x objective-c++ -fobjc-gc -fsyntax-only -verify %s
|
||||
|
||||
@protocol NSCopying @end
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_cc1 -triple i386-apple-darwin9 -fsyntax-only -fobjc-gc -verify %s
|
||||
// RUN: %clang_cc1 -x objective-c++ -triple i386-apple-darwin9 -fsyntax-only -fobjc-gc -verify %s
|
||||
|
||||
struct S {
|
||||
__weak id w; // expected-warning {{__weak attribute cannot be specified on a field declaration}}
|
||||
|
|
Loading…
Reference in New Issue