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:
parent
4855af9f8d
commit
b44b922bc1
@ -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));
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user