Adding RUN lines.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17529 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Tanya Lattner 2004-11-06 22:29:57 +00:00
parent e7e3f2e5cd
commit d13e0ae12e
26 changed files with 52 additions and 0 deletions

View File

@ -1,3 +1,5 @@
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
void foo();
void bar() {

View File

@ -1,3 +1,5 @@
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
// This tests compilation of EMPTY_CLASS_EXPR's
struct empty {};

View File

@ -1,3 +1,5 @@
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
namespace foo {
namespace bar {

View File

@ -1,3 +1,5 @@
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
// XFAIL: darwin,sun
// Default placement versions of operator new.
inline void* operator new(unsigned, void* __p) throw();

View File

@ -1,3 +1,5 @@
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
char* eback();

View File

@ -1,3 +1,5 @@
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
// There is a HOLE in the derived2 object due to not wanting to place the two
// baseclass instances at the same offset!

View File

@ -1,3 +1,5 @@
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
struct duration {
duration operator/=(int c) {
return *this;

View File

@ -1,3 +1,5 @@
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
// Non-POD classes cannot be passed into a function by component, because their
// dtors must be run. Instead, pass them in by reference. The C++ front-end
// was mistakenly "thinking" that 'foo' took a structure by component.

View File

@ -1,3 +1,5 @@
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
class Empty {};
void foo(Empty E);

View File

@ -1,3 +1,5 @@
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
struct C {};
C &foo();

View File

@ -1,3 +1,5 @@
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
// Test with an opaque type
struct C;

View File

@ -1,3 +1,5 @@
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
// The C++ front-end thinks the two foo's are different, the LLVM emitter
// thinks they are the same. The disconnect causes problems.

View File

@ -1,3 +1,5 @@
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
struct test {
bool A : 1;
bool B : 1;

View File

@ -1,3 +1,5 @@
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
template<class T>
struct super {

View File

@ -1,3 +1,5 @@
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
struct Foo {
Foo(int);

View File

@ -1,3 +1,5 @@
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
#include <string>
void bar();

View File

@ -1,3 +1,5 @@
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
enum TchkType {
tchkNum, tchkString, tchkSCN, tchkNone
};

View File

@ -1,3 +1,5 @@
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
struct Gfx {
void opMoveSetShowText();
};

View File

@ -1,3 +1,5 @@
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
#include <vector>
std::vector<int> my_method ();

View File

@ -1,3 +1,5 @@
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
struct CallSite {
int X;

View File

@ -1,3 +1,5 @@
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
void doesntThrow() throw();
struct F {

View File

@ -1,3 +1,5 @@
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
struct Evil {
void fun ();
};

View File

@ -1,3 +1,5 @@
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
struct A {
virtual void Method() = 0;
};

View File

@ -1,3 +1,5 @@
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
// Testcase from Bug 291
struct X {

View File

@ -1,3 +1,5 @@
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
template<typename Ty>

View File

@ -1,3 +1,5 @@
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
struct Pass {} ;