test for something more interesting than not crashing

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47962 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Andrew Lenharth 2008-03-05 20:24:26 +00:00
parent 673d1bc036
commit f697ec3e53

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);