mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Remove explicit uses of -emit-llvm, the test infrastructure adds it
automatically. Use -S with llvm-gcc rather than -c, so tests can work when llvm-gcc is really dragonegg (which can output IR with -S but not -c). Yes, dragonegg supports objective-c++ (poorly though). llvm-svn: 120164
This commit is contained in:
parent
80532aef88
commit
6f39fefae0
@ -1,4 +1,4 @@
|
|||||||
// RUN: %llvmgcc -w -x objective-c++ -c %s -o /dev/null
|
// RUN: %llvmgcc -w -x objective-c++ -S %s -o /dev/null
|
||||||
|
|
||||||
@class NSImage;
|
@class NSImage;
|
||||||
void bork() {
|
void bork() {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// RUN: not %llvmgcc %s -S -emit-llvm -o - |& FileCheck %s
|
// RUN: not %llvmgcc %s -S -o - |& FileCheck %s
|
||||||
// This tests for a specific diagnostic in LLVM-GCC.
|
// This tests for a specific diagnostic in LLVM-GCC.
|
||||||
// Clang compiles this correctly with no diagnostic,
|
// Clang compiles this correctly with no diagnostic,
|
||||||
// ergo this test will fail with a Clang-based front-end.
|
// ergo this test will fail with a Clang-based front-end.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// RUN: %llvmgcc %s -S -emit-llvm
|
// RUN: %llvmgcc %s -S
|
||||||
struct TRunSoon {
|
struct TRunSoon {
|
||||||
template <class P1> static void Post() {}
|
template <class P1> static void Post() {}
|
||||||
};
|
};
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// RUN: %llvmgcc %s -S -emit-llvm
|
// RUN: %llvmgcc %s -S
|
||||||
struct TFENode {
|
struct TFENode {
|
||||||
TFENode(const TFENode& inNode);
|
TFENode(const TFENode& inNode);
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user