aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-01-12 00:08:58 +0000
committerChris Lattner <sabre@nondot.org>2009-01-12 00:08:58 +0000
commit863ea9aa73c0e7f19694ab7d618debbcde3e4157 (patch)
treee99a18c08480686c707d33cab78f479473f47d10
parentf728a4a05df2455e1c6e62173ab720a92cd4a074 (diff)
testcase that works now with r62061
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62062 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Sema/address_spaces.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Sema/address_spaces.c b/test/Sema/address_spaces.c
index eda7b8a106..8900b08b0d 100644
--- a/test/Sema/address_spaces.c
+++ b/test/Sema/address_spaces.c
@@ -17,3 +17,8 @@ void foo(_AS3 float *a) {
*a = 5.0f;
}
+
+struct _st {
+ int x, y;
+} s __attribute ((address_space(1))) = {1, 1};
+