summaryrefslogtreecommitdiff
path: root/test/Parser/pragma-attribute-declspec.cpp
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2017-04-18 10:46:41 +0000
committerAlex Lorenz <arphaman@gmail.com>2017-04-18 10:46:41 +0000
commit7844d0af188cb376ec177cb1fb4bcb24272dc32b (patch)
treec6c244c42a2d72b62f4085cb2d7e1bc5ddcb48d4 /test/Parser/pragma-attribute-declspec.cpp
parentdf381a38cfc0018e459897639364fcfe7adf7d11 (diff)
downloadclang-7844d0af188cb376ec177cb1fb4bcb24272dc32b.tar.gz
Revert r300539 - Add #pragma clang attribute
Some tests fail on the Windows buildbots. I will have to investigate more. This commit reverts r300539, r300540 and r300542. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@300543 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Parser/pragma-attribute-declspec.cpp')
-rw-r--r--test/Parser/pragma-attribute-declspec.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/test/Parser/pragma-attribute-declspec.cpp b/test/Parser/pragma-attribute-declspec.cpp
deleted file mode 100644
index 28785ba900..0000000000
--- a/test/Parser/pragma-attribute-declspec.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-// RUN: %clang_cc1 -triple i386-pc-win32 -std=c++11 -verify -Wno-pragma-clang-attribute -fms-extensions -fms-compatibility %s
-
-#pragma clang attribute push(__declspec(dllexport), apply_to = function)
-
-void function();
-
-#pragma clang attribute pop
-
-#pragma clang attribute push(__declspec(dllexport, dllimport), apply_to = function) // expected-error {{more than one attribute specified in '#pragma clang attribute push'}}
-
-#pragma clang attribute push(__declspec(align), apply_to = variable) // expected-error {{attribute 'align' is not supported by '#pragma clang attribute'}}
-
-#pragma clang attribute push(__declspec(), apply_to = variable) // A noop