commit | f697ec3e53cde5ddad967a714d5fd6b83fa5b406 | [log] [tgz] |
---|---|---|
author | Andrew Lenharth <andrewl@lenharth.org> | Wed Mar 05 20:24:26 2008 +0000 |
committer | Andrew Lenharth <andrewl@lenharth.org> | Wed Mar 05 20:24:26 2008 +0000 |
tree | 83ecf0f07ffe9fd152c3aa0e0c6dc542a537f5e1 | |
parent | 673d1bc0362eb7fc78f86592b27bd85c60f40b5b [diff] [blame] |
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
diff --git a/test/CFrontend/2008-03-05-syncPtr.c b/test/CFrontend/2008-03-05-syncPtr.c index ddd7d5b..6d5be5d 100644 --- a/test/CFrontend/2008-03-05-syncPtr.c +++ b/test/CFrontend/2008-03-05-syncPtr.c
@@ -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);