From 674cf26892a724ffff202d3e48ff6b25b3a46a6d Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Tue, 26 May 2015 19:44:52 +0000 Subject: __declspec is not a core Clang language extension. Instead, require -fms-extensions or -fborland to enable the language extension. Note: __declspec is also temporarily enabled when compiling for a CUDA target because there are implementation details relying on __declspec(property) support currently. When those details change, __declspec should be disabled for CUDA targets. llvm-svn: 238238 --- clang/test/CodeGen/windows-on-arm-stack-probe-size.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'clang/test/CodeGen/windows-on-arm-stack-probe-size.c') diff --git a/clang/test/CodeGen/windows-on-arm-stack-probe-size.c b/clang/test/CodeGen/windows-on-arm-stack-probe-size.c index d25e15d8f5a..c072566d712 100644 --- a/clang/test/CodeGen/windows-on-arm-stack-probe-size.c +++ b/clang/test/CodeGen/windows-on-arm-stack-probe-size.c @@ -1,10 +1,10 @@ -// RUN: %clang_cc1 -triple thumbv7-windows-itanium -mstack-probe-size=8096 -O2 -emit-llvm %s -o - \ +// RUN: %clang_cc1 -triple thumbv7-windows-itanium -mstack-probe-size=8096 -fms-extensions -O2 -emit-llvm %s -o - \ // RUN: | FileCheck %s -check-prefix CHECK-8096 -// RUN: %clang_cc1 -triple thumbv7-windows-itanium -mstack-probe-size=4096 -O2 -emit-llvm %s -o - \ +// RUN: %clang_cc1 -triple thumbv7-windows-itanium -mstack-probe-size=4096 -fms-extensions -O2 -emit-llvm %s -o - \ // RUN: | FileCheck %s -check-prefix CHECK-4096 -// RUN: %clang_cc1 -triple thumbv7-windows-itanium -O2 -emit-llvm %s -o - \ +// RUN: %clang_cc1 -triple thumbv7-windows-itanium -fms-extensions -O2 -emit-llvm %s -o - \ // RUN: | FileCheck %s -check-prefix CHECK __declspec(dllimport) void initialise(signed char buffer[4096]); -- cgit v1.2.3