1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00

test for something more interesting than not crashing

llvm-svn: 47962
This commit is contained in:
Andrew Lenharth 2008-03-05 20:24:26 +00:00
parent 7ac03edf8d
commit 52436854a2

View File

@ -1,4 +1,4 @@
// RUN: %llvmgcc %s -S -emit-llvm -o /dev/null
// RUN: %llvmgcc %s -S -emit-llvm -o - | grep llvm.atomic
int* foo(int** a, int* b, int* c) {
return __sync_val_compare_and_swap (a, b, c);