-// RUN: clang -rewrite-test %s
+// RUN: clang -rewrite-test %s -o=-
@protocol P
- (id<P>) Meth: (id<P>) Arg;
-// RUN: clang -rewrite-test %s
+// RUN: clang -rewrite-test %s -o=-
@interface Intf
{
-// RUN: clang -rewrite-test %s
+// RUN: clang -rewrite-test %s -o=-
@implementation Intf
{
-// RUN: clang -rewrite-test %s
+// RUN: clang -rewrite-test %s -o=-
@interface Intf
@end
-// RUN: clang -rewrite-test %s
+// RUN: clang -rewrite-test %s -o=-
typedef struct _NSPoint {
float x;
-// RUN: clang -rewrite-test %s
+// RUN: clang -rewrite-test %s -o=-
@protocol P1
- (void) MyProtoMeth : (int **) arg1 : (void*) arg2;
-// RUN: clang -rewrite-test %s
+// RUN: clang -rewrite-test %s -o=-
typedef struct NSMethodFrameArgInfo {
struct NSMethodFrameArgInfo *subInfo;
-// RUN: clang -rewrite-test %s
+// RUN: clang -rewrite-test %s -o=-
@class NSString;
-// RUN: clang -rewrite-test %s
+// RUN: clang -rewrite-test %s -o=-
@interface SUPER
- (int) MainMethod;
-// RUN: clang -rewrite-test %s
+// RUN: clang -rewrite-test %s -o=-
id SYNCH_EXPR();
void SYNCH_BODY();
-// RUN: clang -rewrite-test %s
+// RUN: clang -rewrite-test %s -o=-
typedef struct MyWidget {
int a;
-// RUN: clang -rewrite-test %s
+// RUN: clang -rewrite-test %s -o=-
@interface MyDerived
- (void) instanceMethod;
-// RUN: clang -rewrite-test %s
+// RUN: clang -rewrite-test %s -o=-
@protocol P @end
-// RUN: clang -rewrite-test %s
+// RUN: clang -rewrite-test %s -o=-
@protocol P @end
-// RUN: clang -rewrite-test %s
+// RUN: clang -rewrite-test %s -o=-
@protocol P @end
-// RUN: clang -rewrite-test %s
+// RUN: clang -rewrite-test %s -o=-
@interface MyList
- (id) allKeys;
-// RUN: clang -rewrite-test %s
+// RUN: clang -rewrite-test %s -o=-
@interface MyList
- (id) allKeys;
-// RUN: clang %s -rewrite-test
+// RUN: clang %s -rewrite-test -o=-
// rdar://5716356
// FIXME: Should be able to pipe into clang, but code is not
// yet correct for other reasons: rdar://5716940
-// RUN: clang -rewrite-test %s
+// RUN: clang -rewrite-test %s -o=-
@protocol MyProto1
@end
-// RUN: clang -rewrite-test %s
+// RUN: clang -rewrite-test %s -o=-
@interface Foo @end
@interface GARF @end
-// RUN: clang -rewrite-test %s
+// RUN: clang -rewrite-test %s -o=-
@protocol Proto
- (void) ProtoDidget;
-// RUN: clang -rewrite-test %s
+// RUN: clang -rewrite-test %s -o=-
typedef struct S {
int * pint;
-// RUN: clang -rewrite-test %s
+// RUN: clang -rewrite-test %s -o=-
@interface Derived @end
-// RUN: clang -rewrite-test %s
+// RUN: clang -rewrite-test %s -o=-
@interface MyDerived
{
-// RUN: clang -rewrite-test %s
+// RUN: clang -rewrite-test %s -o=-
#include <stdarg.h>