1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

Test the C front-end, not the C++ front-end.

llvm-svn: 42350
This commit is contained in:
Duncan Sands 2007-09-26 07:28:20 +00:00
parent 4855af9f8d
commit b44b922bc1
4 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
// RUN: %llvmgxx -c -emit-llvm %s -o - | llvm-dis | grep llvm.noinline
// RUN: %llvmgcc -c -emit-llvm %s -o - | llvm-dis | grep llvm.noinline
static int bar(int x, int y) __attribute__((noinline));

View File

@ -1,5 +1,5 @@
// RUN: %llvmgxx -c -emit-llvm %s -o - | llvm-dis | grep llvm.global.annotations
// RUN: %llvmgxx -c -emit-llvm %s -o - | llvm-dis | grep llvm.var.annotation | count 3
// RUN: %llvmgcc -c -emit-llvm %s -o - | llvm-dis | grep llvm.global.annotations
// RUN: %llvmgcc -c -emit-llvm %s -o - | llvm-dis | grep llvm.var.annotation | count 3
#include <stdio.h>

View File

@ -1,4 +1,4 @@
// RUN: %llvmgxx -c -emit-llvm %s -o - | llvm-dis | grep noalias
// RUN: %llvmgcc -c -emit-llvm %s -o - | llvm-dis | grep noalias
void foo(int * __restrict myptr1, int * myptr2) {
myptr1[0] = 0;

View File

@ -1,5 +1,5 @@
// RUN: %llvmgxx -S -emit-llvm %s -o - | grep llvm.gcroot
// RUN: %llvmgxx -S -emit-llvm %s -o - | grep llvm.gcroot | count 6
// RUN: %llvmgcc -S -emit-llvm %s -o - | grep llvm.gcroot
// RUN: %llvmgcc -S -emit-llvm %s -o - | grep llvm.gcroot | count 6
typedef struct foo_s
{