-// RUN: clang %s -emit-llvm -o %t
+// RUN: clang %s -emit-llvm -o -
struct test;
typedef void (*my_func) (struct test *);
-// RUN: clang -S %s -o %t
+// RUN: clang -S %s -o -
typedef int Int;
-// RUN: clang -emit-llvm %s -o %t
+// RUN: clang -emit-llvm %s -o -
int main() {
char a[10] = "abc";
-// RUN: clang %s -emit-llvm -o %t
+// RUN: clang %s -emit-llvm -o -
struct S {int a, b;} x;
void a(struct S* b) {*b = (r(), x);}
-// RUN: clang %s -emit-llvm -o %t
+// RUN: clang %s -emit-llvm -o -
typedef struct _zend_ini_entry zend_ini_entry;
struct _zend_ini_entry {
-// RUN: clang %s -emit-llvm -o %t
+// RUN: clang %s -emit-llvm -o -
struct {
int x;
-// RUN: clang -emit-llvm %s -o %t
+// RUN: clang -emit-llvm %s -o -
typedef struct { int i; } Value;
typedef Value *PValue;
-// RUN: clang %s -emit-llvm -o %t
+// RUN: clang %s -emit-llvm -o -
union u_tag {
int a;
-// RUN: clang -verify -emit-llvm -o %t %s
+// RUN: clang -verify -emit-llvm -o - %s
int f0(int x) {
int vla[x];
-// RUN: clang -emit-llvm %s -o %t
+// RUN: clang -emit-llvm %s -o -
typedef short __v4hi __attribute__ ((__vector_size__ (8)));
void f()
-// RUN: clang %s -emit-llvm -o %t
+// RUN: clang %s -emit-llvm -o -
int bar();
int foo() {
-// RUN: clang -emit-llvm -o %t -fwritable-strings %s
+// RUN: clang -emit-llvm -o - -fwritable-strings %s
int main() {
char *str = "abc";