diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2010-06-25 12:48:07 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2010-06-25 12:48:07 +0000 |
commit | 9aa0d39443363fc165977e2dc3157f3c31421251 (patch) | |
tree | e6efb2bed7adcdd35f1d1629a752743698f5b2a5 | |
parent | ce2a92220f2226079367c9e1c9fcc0d344cce65c (diff) | |
download | bcm5719-llvm-9aa0d39443363fc165977e2dc3157f3c31421251.tar.gz bcm5719-llvm-9aa0d39443363fc165977e2dc3157f3c31421251.zip |
A bug I've introduced in STDIN handling surfaced a few broken tests, fix them.
Lexer/hexfloat.cpp is now XFAIL'd, I'd appreciate if someone could look into it.
llvm-svn: 106840
-rw-r--r-- | clang/test/Analysis/rdar-7168531.m | 4 | ||||
-rw-r--r-- | clang/test/CXX/class.access/class.access.dcl/p1.cpp | 2 | ||||
-rw-r--r-- | clang/test/CodeGen/blocks-aligned-byref-variable.c | 4 | ||||
-rw-r--r-- | clang/test/CodeGen/pragma-pack-1.c | 2 | ||||
-rw-r--r-- | clang/test/Lexer/hexfloat.cpp | 5 |
5 files changed, 9 insertions, 8 deletions
diff --git a/clang/test/Analysis/rdar-7168531.m b/clang/test/Analysis/rdar-7168531.m index bb34713b41f..5a7b08584f5 100644 --- a/clang/test/Analysis/rdar-7168531.m +++ b/clang/test/Analysis/rdar-7168531.m @@ -1,5 +1,5 @@ -// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -analyzer-check-objc-mem -triple i386-apple-darwin10 -analyzer-store=region -// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -analyzer-check-objc-mem -triple i386-apple-darwin10 -analyzer-store=basic +// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -analyzer-check-objc-mem -triple i386-apple-darwin10 -analyzer-store=region %s +// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -analyzer-check-objc-mem -triple i386-apple-darwin10 -analyzer-store=basic %s // Note that the target triple is important for this test case. It specifies that we use the // fragile Objective-C ABI. diff --git a/clang/test/CXX/class.access/class.access.dcl/p1.cpp b/clang/test/CXX/class.access/class.access.dcl/p1.cpp index 5d7905f9da8..aab5fff5ea3 100644 --- a/clang/test/CXX/class.access/class.access.dcl/p1.cpp +++ b/clang/test/CXX/class.access/class.access.dcl/p1.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -verify +// RUN: %clang_cc1 -fsyntax-only -verify %s // This is just the test for [namespace.udecl]p4 with 'using' // uniformly stripped out. diff --git a/clang/test/CodeGen/blocks-aligned-byref-variable.c b/clang/test/CodeGen/blocks-aligned-byref-variable.c index 79ac41dcd5d..07d683c3526 100644 --- a/clang/test/CodeGen/blocks-aligned-byref-variable.c +++ b/clang/test/CodeGen/blocks-aligned-byref-variable.c @@ -1,5 +1,5 @@ -// RUN: %clang_cc1 -emit-llvm -o - -triple x86_64-apple-darwin10 -// RUN: %clang_cc1 -emit-llvm -o - -triple i386-apple-darwin10 +// RUN: %clang_cc1 -emit-llvm -o - -triple x86_64-apple-darwin10 -fblocks %s +// RUN: %clang_cc1 -emit-llvm -o - -triple i386-apple-darwin10 -fblocks %s typedef int __attribute__((aligned(32))) ai; void f() { diff --git a/clang/test/CodeGen/pragma-pack-1.c b/clang/test/CodeGen/pragma-pack-1.c index f5d301639e0..c30a62ac3c4 100644 --- a/clang/test/CodeGen/pragma-pack-1.c +++ b/clang/test/CodeGen/pragma-pack-1.c @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -emit-llvm -o - +// RUN: %clang_cc1 -emit-llvm -o - %s // PR4610 #pragma pack(4) diff --git a/clang/test/Lexer/hexfloat.cpp b/clang/test/Lexer/hexfloat.cpp index a3b230e78f1..493b64e6274 100644 --- a/clang/test/Lexer/hexfloat.cpp +++ b/clang/test/Lexer/hexfloat.cpp @@ -1,5 +1,6 @@ -// RUN: %clang_cc1 -fsyntax-only -verify -pedantic -// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify +// RUN: %clang_cc1 -fsyntax-only -verify -pedantic %s +// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s +// XFAIL: * #ifndef __GXX_EXPERIMENTAL_CXX0X__ float f = 0x1p+1; // expected-warning {{incompatible with C++0x}} |