aboutsummaryrefslogtreecommitdiff
path: root/test/builtins/Unit/divxc3_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/builtins/Unit/divxc3_test.c')
-rw-r--r--test/builtins/Unit/divxc3_test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/builtins/Unit/divxc3_test.c b/test/builtins/Unit/divxc3_test.c
index 509b4b18e978..d0cdb0169ebf 100644
--- a/test/builtins/Unit/divxc3_test.c
+++ b/test/builtins/Unit/divxc3_test.c
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -lm -o %t && %run %t
//===-- divxc3_test.c - Test __divxc3 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
@@ -18,6 +19,8 @@
#include <complex.h>
#include <stdio.h>
+// REQUIRES: c99-complex
+
// Returns: the quotient of (a + ib) / (c + id)
COMPILER_RT_ABI long double _Complex