From: Richard Smith Date: Thu, 4 Jul 2013 04:10:46 +0000 (+0000) Subject: Add test for PR4997. This has been fixed for a while. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d29e24f24e9a130431eafefa42c36be8e7a597de;p=clang Add test for PR4997. This has been fixed for a while. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185614 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Sema/address_spaces.c b/test/Sema/address_spaces.c index 0ae3230a61..ebc510134b 100644 --- a/test/Sema/address_spaces.c +++ b/test/Sema/address_spaces.c @@ -65,3 +65,4 @@ void access_as_field() (void) bar.as_field; } +typedef int PR4997 __attribute__((address_space(Foobar))); // expected-error {{use of undeclared identifier 'Foobar'}}