mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-27 14:34:58 +00:00
Test the C front-end, not the C++ front-end.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42350 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6b588d9255
commit
0d91645ba4
@ -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…
x
Reference in New Issue
Block a user