From: Chris Lattner Date: Mon, 12 Jan 2009 00:08:58 +0000 (+0000) Subject: testcase that works now with r62061 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=863ea9aa73c0e7f19694ab7d618debbcde3e4157;p=clang testcase that works now with r62061 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62062 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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}; +