diff options
| author | Ed Schouten <ed@FreeBSD.org> | 2009-06-03 21:11:25 +0000 |
|---|---|---|
| committer | Ed Schouten <ed@FreeBSD.org> | 2009-06-03 21:11:25 +0000 |
| commit | 2659aeb5e51fe27d24bbffad0d1851b39fed5e43 (patch) | |
| tree | f0e24d4185187f7d15274dee4bc53908e30f5b76 /test/CodeGen | |
| parent | 922a2097733e49b869978a264837ad60eca82891 (diff) | |
Notes
Diffstat (limited to 'test/CodeGen')
| -rw-r--r-- | test/CodeGen/always_inline.c | 4 | ||||
| -rw-r--r-- | test/CodeGen/cast-to-union.c | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/test/CodeGen/always_inline.c b/test/CodeGen/always_inline.c index d159bd2233e4..cb32e3b62181 100644 --- a/test/CodeGen/always_inline.c +++ b/test/CodeGen/always_inline.c @@ -1,6 +1,6 @@ -// RUN: clang-cc -emit-llvm -o %t %s && +// RUN: clang -emit-llvm -S -o %t %s && // RUN: grep '@f0' %t | count 0 && -// RUN: clang-cc -disable-llvm-optzns -emit-llvm -o %t %s && +// RUN: clang -mllvm -disable-llvm-optzns -emit-llvm -S -o %t %s && // RUN: grep '@f0' %t | count 2 //static int f0() { diff --git a/test/CodeGen/cast-to-union.c b/test/CodeGen/cast-to-union.c index 03aee3e30c4f..6098bcc5a07c 100644 --- a/test/CodeGen/cast-to-union.c +++ b/test/CodeGen/cast-to-union.c @@ -7,6 +7,7 @@ union u { int i; double d; }; void foo() { union u ola = (union u) 351; + union u olb = (union u) 1.0; } union u w = (union u)2; |
