test for something more interesting than not crashing
authorAndrew Lenharth <andrewl@lenharth.org>
Wed, 5 Mar 2008 20:24:26 +0000 (20:24 +0000)
committerAndrew Lenharth <andrewl@lenharth.org>
Wed, 5 Mar 2008 20:24:26 +0000 (20:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47962 91177308-0d34-0410-b5e6-96231b3b80d8

test/CFrontend/2008-03-05-syncPtr.c

index ddd7d5be465c162ed8d91ffd11d426782293017b..6d5be5d5b8388ef3dd5049acd7b0a1b3d7958784 100644 (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);