From: Johannes Doerfert Date: Sat, 19 Jan 2019 09:40:10 +0000 (+0000) Subject: [FIX] Restrict callback pthreads_create test to linux only X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2a7b80b78ca69163ec4b583f6342096a6e5b6b5b;p=clang [FIX] Restrict callback pthreads_create test to linux only git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@351643 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/callback_pthread_create.c b/test/CodeGen/callback_pthread_create.c index 7184f82ca3..fdcbe973c4 100644 --- a/test/CodeGen/callback_pthread_create.c +++ b/test/CodeGen/callback_pthread_create.c @@ -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}