aboutsummaryrefslogtreecommitdiff
path: root/test/SemaTemplate/attributes.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-05-19 17:02:24 +0000
committerDouglas Gregor <dgregor@apple.com>2010-05-19 17:02:24 +0000
commit4469e8a97cdca3725b4f8f366916143113c029ac (patch)
tree502d7323991b33c462458ee925a686ff71f3d8d4 /test/SemaTemplate/attributes.cpp
parent6349ce94d1b4fa560bf060c5ca5ad5728ce4fad9 (diff)
Revert r104106; it's breaking linking of Boost.Serialization.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104121 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaTemplate/attributes.cpp')
-rw-r--r--test/SemaTemplate/attributes.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/test/SemaTemplate/attributes.cpp b/test/SemaTemplate/attributes.cpp
index c578faba31..b696c5cd98 100644
--- a/test/SemaTemplate/attributes.cpp
+++ b/test/SemaTemplate/attributes.cpp
@@ -6,24 +6,3 @@ struct X {
int __attribute__((__address_space__(N))) *ptr; // expected-error{{attribute requires 1 argument(s)}}
};
-
-namespace PR7102 {
-
- class NotTpl {
- public:
- union {
- char space[11];
- void* ptr;
- } __attribute__((packed));
- };
- template<unsigned N>
- class Tpl {
- public:
- union {
- char space[N];
- void* ptr;
- } __attribute__((packed));
- };
-
- int array[sizeof(NotTpl) == sizeof(Tpl<11>)? 1 : -1];
-}