summaryrefslogtreecommitdiff
path: root/test/CodeGen/ms-volatile.c
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2015-05-26 19:44:52 +0000
committerAaron Ballman <aaron@aaronballman.com>2015-05-26 19:44:52 +0000
commitb3ce54c6456b209aa9c60ee1bef36751a0ee011c (patch)
tree1f6cd985009d5e8b15b9369ae592f9a2cef3ea8f /test/CodeGen/ms-volatile.c
parent5df4695c188727feec8081ebc3ac805e7e54a6e4 (diff)
downloadclang-b3ce54c6456b209aa9c60ee1bef36751a0ee011c.tar.gz
__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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@238238 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ms-volatile.c')
-rw-r--r--test/CodeGen/ms-volatile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/ms-volatile.c b/test/CodeGen/ms-volatile.c
index 88e19886c2..87393e794f 100644
--- a/test/CodeGen/ms-volatile.c
+++ b/test/CodeGen/ms-volatile.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -triple i386-pc-win32 -emit-llvm -fms-volatile -o - < %s | FileCheck %s
+// RUN: %clang_cc1 -triple i386-pc-win32 -fms-extensions -emit-llvm -fms-volatile -o - < %s | FileCheck %s
struct foo {
volatile int x;
};