Adding RUN lines.
authorTanya Lattner <tonic@nondot.org>
Sat, 6 Nov 2004 22:41:00 +0000 (22:41 +0000)
committerTanya Lattner <tonic@nondot.org>
Sat, 6 Nov 2004 22:41:00 +0000 (22:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17532 91177308-0d34-0410-b5e6-96231b3b80d8

107 files changed:
test/CFrontend/2002-01-23-LoadQISIReloadFailure.c
test/CFrontend/2002-01-24-ComplexSpaceInType.c
test/CFrontend/2002-01-24-HandleCallInsnSEGV.c
test/CFrontend/2002-02-13-ConditionalInCall.c
test/CFrontend/2002-02-13-ReloadProblem.c
test/CFrontend/2002-02-13-TypeVarNameCollision.c
test/CFrontend/2002-02-13-UnnamedLocal.c
test/CFrontend/2002-02-14-EntryNodePreds.c
test/CFrontend/2002-02-16-RenamingTest.c
test/CFrontend/2002-02-17-ArgumentAddress.c
test/CFrontend/2002-02-18-64bitConstant.c
test/CFrontend/2002-02-18-StaticData.c
test/CFrontend/2002-03-11-LargeCharInString.c
test/CFrontend/2002-03-12-ArrayInitialization.c
test/CFrontend/2002-03-12-StructInitialize.c
test/CFrontend/2002-03-12-StructInitializer.c
test/CFrontend/2002-03-14-BrokenPHINode.c
test/CFrontend/2002-03-14-BrokenSSA.c
test/CFrontend/2002-03-14-QuotesInStrConst.c
test/CFrontend/2002-04-07-SwitchStmt.c
test/CFrontend/2002-04-08-LocalArray.c
test/CFrontend/2002-04-09-StructRetVal.c
test/CFrontend/2002-04-10-StructParameters.c
test/CFrontend/2002-05-23-StaticValues.c
test/CFrontend/2002-05-23-TypeNameCollision.c
test/CFrontend/2002-05-24-Alloca.c
test/CFrontend/2002-06-25-FWriteInterfaceFailure.c
test/CFrontend/2002-07-14-MiscListTests.c
test/CFrontend/2002-07-14-MiscTests.c
test/CFrontend/2002-07-14-MiscTests2.c
test/CFrontend/2002-07-14-MiscTests3.c
test/CFrontend/2002-07-16-HardStringInit.c
test/CFrontend/2002-07-17-StringConstant.c
test/CFrontend/2002-07-29-Casts.c
test/CFrontend/2002-07-30-SubregSetAssertion.c
test/CFrontend/2002-07-30-UnionTest.c
test/CFrontend/2002-07-30-VarArgsCallFailure.c
test/CFrontend/2002-07-31-BadAssert.c
test/CFrontend/2002-07-31-SubregFailure.c
test/CFrontend/2002-08-02-UnionTest.c
test/CFrontend/2002-08-19-RecursiveLocals.c
test/CFrontend/2002-09-08-PointerShifts.c
test/CFrontend/2002-09-18-UnionProblem.c
test/CFrontend/2002-09-19-StarInLabel.c
test/CFrontend/2002-10-12-TooManyArguments.c
test/CFrontend/2002-11-07-Redefinition.c
test/CFrontend/2002-12-15-GlobalBoolTest.c
test/CFrontend/2002-12-15-GlobalConstantTest.c
test/CFrontend/2002-12-15-GlobalRedefinition.c
test/CFrontend/2002-12-15-StructParameters.c
test/CFrontend/2003-01-30-UnionInit.c
test/CFrontend/2003-02-12-NonlocalGoto.c
test/CFrontend/2003-03-03-DeferredType.c
test/CFrontend/2003-06-22-UnionCrash.c
test/CFrontend/2003-06-23-GCC-fold-infinite-recursion.c
test/CFrontend/2003-06-26-CFECrash.c
test/CFrontend/2003-06-29-MultipleFunctionDefinition.c
test/CFrontend/2003-08-18-SigSetJmp.c
test/CFrontend/2003-08-18-StructAsValue.c
test/CFrontend/2003-08-20-BadBitfieldRef.c
test/CFrontend/2003-08-20-PrototypeMismatch.c
test/CFrontend/2003-08-20-vfork-bug.c
test/CFrontend/2003-08-21-BinOp-Type-Mismatch.c
test/CFrontend/2003-08-21-StmtExpr.c
test/CFrontend/2003-08-21-WideString.c
test/CFrontend/2003-08-23-LocalUnionTest.c
test/CFrontend/2003-08-29-BitFieldStruct.c
test/CFrontend/2003-08-29-HugeCharConst.c
test/CFrontend/2003-08-29-StructLayoutBug.c
test/CFrontend/2003-08-30-AggregateInitializer.c
test/CFrontend/2003-08-30-LargeIntegerBitfieldMember.c
test/CFrontend/2003-09-18-BitfieldTests.c
test/CFrontend/2003-09-30-StructLayout.c
test/CFrontend/2003-10-02-UnionLValueError.c
test/CFrontend/2003-10-06-NegateExprType.c
test/CFrontend/2003-10-09-UnionInitializerBug.c
test/CFrontend/2003-10-28-ident.c
test/CFrontend/2003-10-29-AsmRename.c
test/CFrontend/2003-11-01-C99-CompoundLiteral.c
test/CFrontend/2003-11-01-EmptyStructCrash.c
test/CFrontend/2003-11-01-GlobalUnionInit.c
test/CFrontend/2003-11-04-EmptyStruct.c
test/CFrontend/2003-11-04-OutOfMemory.c
test/CFrontend/2003-11-12-VoidString.c
test/CFrontend/2003-11-16-StaticArrayInit.c
test/CFrontend/2003-11-18-CondExprLValue.c
test/CFrontend/2003-11-19-BitFieldArray.c
test/CFrontend/2003-11-20-Bitfields.c
test/CFrontend/2003-11-20-ComplexDivision.c
test/CFrontend/2003-11-20-UnionBitfield.c
test/CFrontend/2003-11-26-PointerShift.c
test/CFrontend/2003-11-27-ConstructorCast.c
test/CFrontend/2003-11-27-UnionCtorInitialization.c
test/CFrontend/2004-01-01-UnknownInitSize.c
test/CFrontend/2004-01-08-ExternInlineRedefine.c
test/CFrontend/2004-03-07-BitfieldCrash.c
test/CFrontend/2004-03-07-ComplexDivEquals.c
test/CFrontend/2004-03-09-LargeArrayInitializers.c
test/CFrontend/2004-03-15-SimpleIndirectGoto.c
test/CFrontend/2004-03-16-AsmRegisterCrash.c
test/CFrontend/2004-05-07-VarArrays.c
test/CFrontend/2004-05-21-IncompleteEnum.c
test/CFrontend/2004-06-08-OpaqueStructArg.c
test/CFrontend/2004-06-17-UnorderedBuiltins.c
test/CFrontend/2004-06-18-VariableLengthArrayOfStructures.c
test/CFrontend/2004-07-06-FunctionCast.c
test/CFrontend/2004-08-06-LargeStructTest.c

index 55a17a3792c3cd3a820f2aafa8e9054a0748b162..258d3cc0e3dc485d6e02dff3c1aa2d0416b97489 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 /* Regression test.  Just compile .c -> .ll to test */
 int foo(void) {
   unsigned char *pp;
index 41c87d0dcb6939d967a864dbb4654a3d4985beaa..9559d5b37b79598fbbde5d18fa52f2730805fa73 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 // This caused generation of the following type name:
 //   %Array = uninitialized global [10 x %complex int]
 //
index 5ae9d6349485ff8591d900889892d8df8b271a71..010a24771cb94f1a87c21f6b7a184355125968b1 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 void *dlclose(void*);
 
 void ap_os_dso_unload(void *handle)
index 24a9f3e9e8b8c70a92231874196c52a97c38d9d4..0dad6ff5c2f4b40c3494a4db8a1cbeb52daec284 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 /* Test problem where bad code was generated with a ?: statement was 
    in a function call argument */
 
index eec7844e75ae27449430f82cfc7fa4f15235c18b..ab9b56da3e397a187bd3eaac32bf87b83ac00cd7 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 /* This triggered a problem in reload, fixed by disabling most of the 
  * steps of compilation in GCC.  Before this change, the code went through
  * the entire backend of GCC, even though it was unnecessary for LLVM output
index ec0052793055877aad1e3cd970c84fad5fcb7c80..f4daa2186b246d8fc23bc0c94ba2fa6bc375ce8d 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 /* This testcase causes a symbol table collision.  Type names and variable 
  * names should be in distinct namespaces
  */
index 700f5642d33a30d9b4fe09a74ca28678f5b99356..6fdc7efdd3a3a0ac5ce0fac9c54cfa3939592268 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 /* Testcase for a problem where GCC allocated xqic to a register,
  * and did not have a VAR_DECL that explained the stack slot to LLVM.
  * Now the LLVM code synthesizes a stack slot if one is presented that
index 8b6f4e08405c28d5a2f78e11014b3215a138cfb2..f1e01515fd77f3f5e6fe4a9b784364741d0cfbaf 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 /* GCC Used to generate code that contained a branch to the entry node of 
  * the do_merge function.  This is illegal LLVM code.  To fix this, GCC now
  * inserts an entry node regardless of whether or not it has to insert allocas.
index 47931b3a01a3f790596f115851e46b91c98f8dd5..952af90c87ef7f9432b94f44a22e455c6a676bc5 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 /* test that locals are renamed with . notation */
 
 void abc(void *);
index 78378de3229923b6bc8ceeed4d518ffdf77bb351..937929559fe7eb8dc068440ec9f23c1ae647d91b 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 int test(int X) {
   return X;
 }
index 3c3a6034864e24c916a7e147a3bc2e522f3fa01a..f2ed12165243713823d993ecbbc4700ce5e88a38 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 /* GCC wasn't handling 64 bit constants right fixed */
 
 void main() {
index 78614a71faebfe9e6a9f0e9ed77016514a7325a5..10439c373097ce43cc84e5396dd991d21160c406 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 
 double FOO = 17;
 double BAR = 12.0;
index 4e640d5c45eb61d5355042852eb9f0412846db26..8ae86436fe02f7a41c604bdf502c005ee2f75d95 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 #include <string.h>
 
 int test(char *X) {
index ebb5aa3dfba914434966ea70f6d3ead1a12e0697..d6cf44625bd14db2bd1d944df012a2ef8fc569c3 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 /* GCC would generate bad code if not enough initializers are 
    specified for an array.
  */
index 38308e37f8cc5e4a57a53388935b55e0035f5376..5174ad4906d2490d62f88be207e2a4791d69522d 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 
 typedef struct Connection_Type {
    long    to;
index de2d84781c40eb405b51f2ebc41932ce36e1766a..cf2ba4e8cf89a43f90c3a44cedf8f5606b7c0a53 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 /* GCC was not emitting string constants of the correct length when
  * embedded into a structure field like this.  It thought the strlength
  * was -1.
index 8ab61b8574faee5eecb662deae1bf4c98176a79e..16d9bc7814f333d435e98a98fe92348501149550 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 /* GCC was generating PHI nodes with an arity < #pred of the basic block the
  * PHI node lived in.  This was breaking LLVM because the number of entries
  * in a PHI node must equal the number of predecessors for a basic block.
index 457d369343c5cc55389c4e79c75bf8b4d2cbe1f6..01f259738e3fc96f174b4cce8810b5f683a26746 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 /* This code used to break GCC's SSA computation code.  It would create
    uses of B & C that are not dominated by their definitions.  See:
    http://gcc.gnu.org/ml/gcc/2002-03/msg00697.html
index c18157c2b21760c1cc512d1b8f4f4dc5a210b8b1..20348488760629b5726d415f1aa1dce2defb8675 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 /* GCC was not escaping quotes in string constants correctly, so this would 
  * get emitted:
  *  %.LC1 = internal global [32 x sbyte] c"*** Word "%s" on line %d is not\00"
index 178076c852835a05a939166e923ecc7e504a37d4..79632c9eb8adf4bdea20a9723477c2a9b12975ea 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 int printf(const char *, ...);
 int foo();
 
index 27a9c73b36b433855be3ec905323999467dae39e..af6ebd6bdf9082eef5082aff6aec29a35efe1905 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 /* GCC is not outputting the static array to the LLVM backend, so bad things
  * happen.  Note that if this is defined static, everything seems fine.
  */
index 8ba8bfa4d5d93c756e6eed4e22c2e2f9dd00384c..c655e4a4d05d5cb2298582755c50f3f6df30b7c3 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 struct S {
   int i;
   short s1, s2;
index f1175946a0ea995412ca8fe91b0b58d960215e8f..9db6a132bc1e16aef49c2346d905dbcaea873673 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 
 typedef struct {
   char p;
index 821dbbb73dfc971a84d1585df492633c57c9ae79..79d46ae8ab0c6ee8f7e7075af578e33aea94fc84 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 /* Make sure the frontend is correctly marking static stuff as internal! */
 
 int X;
index 35508c95ce34b1630e77a3f0e896159f283a5d05..43faf97b1e631d654852b90ce7f3b03250fa4176 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 /* Testcase for when struct tag conflicts with typedef name... grr */
 
 typedef struct foo {
index 698452e574a1ec5d4743d692b69ab11e9684dd42..0a44db12ea29cd8db37a37176f1e7f2b799915ba 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 #include <string.h>
 #include <stdio.h>
 #include <stdlib.h>
index 2f957a218ea6044635fc92ab6087830c9da9e0b0..654709299d01e63419331ec7d4ea572645a673dc 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 #include <stdio.h>
 
 void  test() {
index 34edea18f3e27c552e7ee94aa5a38d70b7e312db..baae585f6c33029f0af22321797396a9e0ada440 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 // Test list stuff
 
 void *malloc(unsigned);
index 980a8a45047096e8e3cd1d66880008ef6f3b541f..e78dbd72eb9344811c9f02a4dac6e0649be178b8 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 /* These are random tests that I used when working on the GCC frontend 
    originally. */
 
index b7b3d5cdd5568b4d5fbc2da433e9aa1149324299..ac58926abf298be1ff1b6a97c9d6a7a551cb175d 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 
 // Test ?: in function calls
 extern fp(int, char*);
index 95a0045a7d4bb06c663d366e2bbbacb3c8b01f33..a19e2d54c930ead29b8a66bc0d80acc81f9d62aa 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 
 
 void *malloc(unsigned);
index 81a7bad403b814ae7becfca84ced3bb321f1b6b0..d1d03216ce1fc00ba4f9dfc83f37d4f90fc1e5bc 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
   char      auto_kibitz_list[100][20] = {
                                       {"diepx"},
                                       {"ferret"},
index 1c323f1f0965b5c5be9f293b05d8b1bd58afa6f5..8a392033f39280d8a479483aad004f5d00ec4e64 100644 (file)
@@ -1,2 +1,4 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 
 char * foo() { return "\\begin{"; }
index 3666d0b31e4ced700bdd9c5c190bfc6c7f304788..6794e80b5e3e71392486800e5953f41c62b172b0 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 #include <stdlib.h>
 #include <stdio.h>
 #include <sys/types.h>
index e00a3ce9452931920316b1d5bdab1fba38404116..7eab19b045624c1953fac0ac9f077c74e0e76869 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 
 union X {
   void *B;
index ffb1d5b0430a5743b8938faf0a4cf85ac31c8873..634ed3f61bf2c3a6bbbfc74a413dd79b3547a28a 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 union X;
 struct Empty {};
 union F {};
index cdce478adc74d22368f54f76bdc98e3ae2207181..14c879c7a92d3f34fd33197c8a90d7bbc9150056 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 int tcount;
 void test(char *, const char*, int);
 void foo() {
index 9c4e5f67e6896604172674905eb4205af0aeedd3..5801d03a09938a75ebc628f66e8be8bd2f03b265 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 typedef struct
 {
         unsigned char type;        /* Indicates, NORMAL, SUBNORMAL, etc. */
index 1ddac3c7d08c4770509c5718e194eef9ebd65d76..15573f9128ad4f822eef5ffe50b5cfebcc1b51fa 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 
 typedef union {
    long (*ap)[4];
index 25bf15705611aa18ac2b7a1334305a5d76e1463a..b9e2c2e0506f974e432af3b29152c664ed81d740 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 /* In this testcase, the return value of foo() is being promotedto a register
  * which breaks stuff
  */
index 5e89419f782b388072252c67b26ea9d2db122f0f..e5007af7254e46ccfe234e3cf77ba95fa3f51ece 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 /* This testcase doesn't actually test a bug, it's just the result of me 
  * figuring out the syntax for forward declaring a static variable. */
 struct list {
index ce2c2adeb689259cbb1988d0a97dc714a165bbea..e58d858c37e09a95c256ed4c02d761664216049e 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 
 int foo(int *A, unsigned X) {
        return A[X];
index e914e4f5b25ce5dbd10a4138449cadc19d46ad9a..56ec6cec8ed09d863bda409a31fc320e6e841843 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 
 struct DWstruct {
   char high, low;
index b16a39d7d860a1d7ed8023cb5ad8dca138511abe..86a2571d57bc5610c945717370e2d2ae4df108a9 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 extern void start() __asm__("start");
 extern void _start() __asm__("_start");
 extern void __start() __asm__("__start");
index 0a1b15711b5b7f3e75ecab8969967514adff5800..0c31f2b90a1a726866b5fb4b186e9b23b7610f56 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 
 void foo() {}
 
index 4ac88b8f14fbe8a9fac10702749861f5559bff00..2be3c8ff1d9ffb8c773abff521803d8f75871493 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 /* Provide Declarations */
 
 #ifndef NULL
index 5d529dccd041a59838064d45f8008ded457ed1ce..6b27391d9b5cbc6e140ef9f511d09d1952fe6a0a 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 
 _Bool X = 0;
 
index 3b17941a73e0e0162f3ca21b7fec74afee293a17..a5a679db6758f5b18fbe84c3a0c5cca27f3e4ac7 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 
 const char *W = "foo";
 const int X = 7;
index 9899764af6581a5d7749dce6fa3720cf8de0a465..39632a1506668c3fdd1ea377db4470f3c219a858 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 extern char algbrfile[9];
 char algbrfile[9] = "abcdefgh";
 
index 64e5df30a881fe5269f97614f63aa90a4365bf7a..c85dab1cd1e46084cd13b4b59283bc6c13d98c75 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 typedef struct
 {
   void *stack;
index a6557859fdd04fc69b6f188782addf2721624684..4fc2717346ffec1b0e57d34d35079f3e37ae2260 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 // XFAIL: linux,sun,darwin
 
 union foo {
index 16373af1a890cc826977b4fd0a01e0c0ef02dd11..b5813308a1d530aeaaf930011b347aa5907707a8 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 // XFAIL: *
 /* It is unlikely that LLVM will ever support nested functions, but if it does,
    here is a testcase. */
index b3487466188f0b167f33e39ab11bf9bea023e76f..fa51991b30570c134f3636a75b527925f146365a 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 
 
 
index e4fb3f068d3b3437d7c0ffd8e416dc72f5117edc..dab0716ae6304ff2e0b21847a3e815c762afbf63 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 struct Blend_Map_Entry {
   union {
    float Colour[5];
index 3e3c639a934bd75be630f1deb1d7ce8fbfca9903..ba66276683b30d19539ec7d3435de95fa3641401 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 double Test(double A, double B, double C, double D) {
   return -(A-B) - (C-D);
 }
index e951f3513423d7c304747f800fc6d04f9a715d33..bb6977f4838e4cd70d4f630752799b2f64b66463 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 typedef struct min_info {
   long offset;
   unsigned file_attr;
index 588da7198af969247e4c73967598783cc0f9e5d3..b7bc803306731b91a469a03974dd1c297c958a79 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 /* This is apparently legal C.  
  */
 extern __inline__ void test() { }
index fb2548419275ae100ffe2e0a4d99eda2781fa4f6..b7f4553f41d6630f5890652fdff44f0e66802ae7 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 
 #include <setjmp.h>
 
index fbf6988fa2506634616966facfd909c5ed382ffc..649eadc4e45110a262ed5f67b35f3acf4971bc43 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 
 typedef struct {
   int op;
index f4458cbaf13be45b90d2de8ac1696d6941bd3656..58cf1bc334c65039a13fbe61f38ef86564ae12ad 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 void foo()
 {
   char *ap;
index b2535c7a530825470aae4537917be57a8ceb96a5..8358a2f6fd05042629251daae04db38b3dad2973 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 
 
 static int foo(int);
index ac6db4672e1a7bfd6c8dc8e35150615c2345bb97..575bfd6c194b9e3f28084f4427c7e18aaf2a6650 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 extern int vfork(void);
 test() {
   vfork();
index 0e431c7a66e68ee5ae85a45b5fd82c83ae2ea79c..8829652cb1549d3a12f2536d1f401f92ad8dbf76 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 struct bar;
 
 void foo()
index a5eefe70b2aa54565ce3a4f2676c2237f45c1744..878ed473487e68944bcb8766241cf7416abe5e29 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 
 typedef struct {
   unsigned long val;
index cdbc3a93f9d17ee08b27cf0aee257e393409725b..0a833dcac547468077a185a4a579369ac697330f 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 struct {
   int *name;
 } syms = { L"NUL" };
index 2558f9815278e14af5d027fdd04aacff50000703..dc27802623ae5756130f77ade8f7fb365a78d310 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 
 
 union foo { int X; };
index f2a443ff57fdf65ad9aae171bae1538e4f9555dc..8c303e8f2e01709fd6789f6990f740dfe8ec7bff 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 struct Word {
   short bar;
   short baz;
index 83854d2ab5548f41af97b43724e627093cc2f3d2..a997994e91c31fe154f89faa49abc949f0db47e3 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 void foo() {
   unsigned char int_latin1[] = "f\200\372b\200\343\200\340";
 }
index 7572d2737cf8b9ac3e1cb9dd3176cc18297992eb..a5f6fb106ff8a79e1ade9af464bd2804ffddf6c2 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 struct foo {
   unsigned int I:1;
   unsigned char J[1];
index c7a0f806b8649332f817185a9ac899b63b2acc6e..ab2f61012d72084838f73fc0e9b07211a4348c45 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 // XFAIL: linux,sun,darwin
 struct istruct {
   unsigned char C;
index fa81802b7148b6c9b7ca2242314e0b0d50ca64dc..f67aee4c10fb535eacb3edcd311b526cd5a25946 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 struct foo {
   unsigned int I:1;
   unsigned char J[1][123];
index e8435ca70f7a061602a23d4f85d5f1e098789bb7..3a7879bfb5c0256c992b116994e8b5acbb253f80 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 
 typedef struct BF {
   int A : 1;
index 2dc81225e9a448fde66e6831a9f639702061ae6b..3a4016606ec7d0d254567ed15d15e56894109118 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 enum En {
   ENUM_VAL
 };
index 82693c729bbf2411f4b0ce140a351b5fe9e924c9..732f93a77311798bbeb3369bfa3fa7f3ad802838 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 union U{
   int i[8];
   char s[80];
index 56c5e30f4ae67cd236c0329fba096c459bce8a64..02386031b71f3f891ea618d46f56232b753f6c12 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 
 extern int A[10];
 void Func(int *B) { 
index e574a1931d3a6c73d7cc011d1983f0869a03d64b..90dbd37f0d61830a34681695c26af8fc607a64b7 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 struct Foo {
     unsigned a;
     unsigned b;
index 726d7cf805125b8063cf91b8a4e92a0a3653c2f7..9911dfd1ffe0926f7dfb4500b95bd26f4935e57d 100644 (file)
@@ -1,2 +1,4 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 
 #ident "foo"
index fe96359fdc288a79592aab9ef22e075a4f8042b8..5750cedd026ae46a8987293a0d213d1f96a59491 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 
 struct foo { int X; };
 struct bar { int Y; };
index cf53e8028e4116c4d1244f9611d0188ab8ac4489..a0aa69858cf17fac43d9cd3c4617dd386faf7dc5 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 typedef struct { int foo; } spinlock_t;
 typedef struct wait_queue_head_t { spinlock_t lock; } wait_queue_head_t;
 void call_usermodehelper(void) { 
index d65b3280f0dc9433dd2c49027925998093c26334..fb6993bb209f5c6afac057723b2a58fda768d4ad 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 typedef struct { } the_coolest_struct_in_the_world;
 extern the_coolest_struct_in_the_world xyzzy;
 void *foo() { return &xyzzy; }
index 83ee8c0417fdb18b5c0e45b36029d27e5df0c0f0..be7788d1abb571c0e9c5ed701cbdfb0451dea244 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 union bdflush_param {
     struct { int x; } b_un;
     int y[1];
index f8b8f5f48f7c5301e54ef2b0da6a80b09c56113a..c7a01641591072dfba7759b2eca117e8aef282a3 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 typedef struct { } rwlock_t;
 struct fs_struct { rwlock_t lock; int umask; };
 void __copy_fs_struct(struct fs_struct *fs) { fs->lock = (rwlock_t) { }; }
index 4c2721bd9858e7f58b3cd26957681d84ea80cbde..6a42e160f27905419cd78c165111788034aa99fd 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 void schedule_timeout(signed long timeout)
 {
  switch (timeout)
index 041973eb98fa0359b13d0e70874fe34782d0d24e..db2e84bbbbcf884a2968e245b358cf9818a49fda 100644 (file)
@@ -1,2 +1,4 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 void query_newnamebuf(void) { ((void)"query_newnamebuf"); }
 
index 399b4e8a8e03e4e655d548ae7c4981b2896b727a..2b42e38dc9ae57802bd73e7649e6ad812546f61b 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 void bar () {
  static char x[10];
  static char *xend = x + 10;
index fbafacb2ce353d1d00d138484ba179477d058ef7..ec000a443d90b63e8d3064efd6d0911537acac61 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 typedef struct { unsigned long pgprot; } pgprot_t;
 
 void split_large_page(unsigned long addr, pgprot_t prot)
index bf37d190e10bc3389bdb981d990c4ed88cb2d87a..9d54112e86e25d5d81c4054f775d63fa5deafc71 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 struct _GIOChannel {
   int write_buf;
   char partial_write_buf[6];
index 7fb3df507cd21c6a725645eb20aa54e52252de3b..c9ea0dc7f1ecc01a46cf89240899fbd3a77f52b4 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 struct face_cachel {
   unsigned int reverse :1;
   unsigned char font_specified[1];
index 3204271e4ee6506d6d3755cf50686bf70047a90e..cd548c0313fc5d2a80d18088accf3e98cfef184c 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 int test() {
   __complex__ double C;
   double D;
index 1bbf26f51096c5067885949dda9f91aca4809aa1..12e7df5890aa4a1c92c39d8b39248cea08599ebb 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 struct printf_spec {
   unsigned int minus_flag:1;
   char converter;
index 46dc259431e334390acce02344f3924bc013f1af..079f6903a233d290462c83c33b756b6517afd691 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 unsigned long do_csum(const unsigned char *buff, int len, unsigned long result) {
   if (2 & (unsigned long) buff) result += 1;
   return result;
index 33a9426a972463a47400e981b21e7555af368529..3780e7a4b97e1d3d7656cae868782fb74a21b061 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 struct i387_soft_struct {
   long cwd;
 };
index 27a1ec7c5fc2c3ecae643799b2cb80d1531c070d..472b591585369d10ea392343d4afb0516f91d83e 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 struct i387_soft_struct {
  long cwd;
  long twd;
index f9b49ccfa1fc8de3d87193103e2643febef6fd98..863305ecb4e555e0842cf82c7dcfebf644a7f736 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 /*
  * This regression test ensures that the C front end can compile initializers
  * even when it cannot determine the size (as below).
index 27613caa033204d78b9922f771a628920cfc706e..b3907ee9933b90abaea3801df80e21a328ae32ab 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 
 extern __inline long int
 __strtol_l (int a)
index 42b3bb37a10ae691c7ab1c12324dfe9c8b357f6d..f94c17e4dd9ad025d7aafbcf7a143b60a0123d1c 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 /*
  * XFAIL: linux
  */
index f48269289726b96611a8b31c5840f3c8bb01cc18..b1da58054123a65bce6c1fb10f2d91ccbd95150a 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 
 void test(__complex__ double D, double X) {
   D /= X;
index 89dc72e9f73b550d2353287c5d4d23df0af02b61..335c5684870a2cdf2d90f29a43f4961a61808a42 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 // Test that these initializers are handled efficiently
 
 int test(int x) {
index 38ce086f2e2f101539a3e123e67cbe4120ac301e..ad7221e96a00f063b686049e5c761218e0c0ef69 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 int code[]={0,0,0,0,1};
 void foo(int x) {
   volatile int b;
index 864d6ebad22b70398453fd3c7cad059f158b6156..6ad1cd48f3cd116de4ac5a5776dfba53948d0db5 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 int foo() {
   register int X __asm__("ebx");
   return X;
index f56427b9ec3ba6ac648df8e3a538e12ca5b912cb..20412983e90e85bb28feacfbc8ba45a11b3a13c7 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 int foo(int len, char arr[][len], int X) {
   return arr[X][0];
 }
index 1e57a976c5d0d617745262ebfbf47c7c5e574f22..3636ca74293ee660f952b73a4c699d15814233be 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 void test(enum foo *X) {
 }
 
index c73bc861263b9483e6d35ffd60cf25826c2183fd..ede811c38988dd45d45564e07421ff48afae378b 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
    struct fu;
    void foo(struct fu);
    void bar() {
index 2ace907a48577cd83af1d91d503a8b13f192982e..5e02e7f325aa45b6ed34c615bef82aa6722c16c3 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 
 _Bool A, B, C, D, E, F, G, H;
 void TestF(float X, float Y) {
index da52cbcd75b4a1fbabb6a56c9444516e3bb224b6..e474a13b37f028a209f5440f29787a00da11d42d 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 
 struct S { };
 
index 1d4a2616831f61e230561aaa0c3fad4285397e3e..169f74036423c4d59b13e73dc7ee168611bc14fe 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 static int unused_func(void) {
   return 1;
 }
index a0b1b09ccfe2722d152ef0cc0bda560e5d8363b4..b0413b4b0cee1b0d674a51fe9e578a49feb4fd66 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 
 #define A(X) int X;
 #define B(X) A(X##0) A(X##1) A(X##2) A(X##3) A(X##4) A(X##5) A(X##6) A(X##7) \