]> granicus.if.org Git - clang/commitdiff
[FIX] Restrict callback pthreads_create test to linux only
authorJohannes Doerfert <jdoerfert@anl.gov>
Sat, 19 Jan 2019 09:40:10 +0000 (09:40 +0000)
committerJohannes Doerfert <jdoerfert@anl.gov>
Sat, 19 Jan 2019 09:40:10 +0000 (09:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@351643 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/callback_pthread_create.c

index 7184f82ca34ac6c4d6d0df62abb5afcfe3d6d69c..fdcbe973c419b47becbe5575c94b92514ca1cb48 100644 (file)
@@ -1,6 +1,9 @@
 // RUN: %clang -O1 %s -S -c -emit-llvm -o - | FileCheck %s
 // RUN: %clang -O1 %s -S -c -emit-llvm -o - | opt -ipconstprop -S | FileCheck --check-prefix=IPCP %s
 
+// This is a linux only test for now due to the include.
+// UNSUPPORTED: !linux
+
 // CHECK: declare !callback ![[cid:[0-9]+]] {{.*}}i32 @pthread_create
 // CHECK: ![[cid]] = !{![[cidb:[0-9]+]]}
 // CHECK: ![[cidb]] = !{i64 2, i64 3, i1 false}