diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-07-04 04:10:46 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-07-04 04:10:46 +0000 |
| commit | 6d6676b9d1e37dba5439f42f5e282f4fca58f30a (patch) | |
| tree | 8a82696660d3bb63ec23f87d3dbd2831c8463942 | |
| parent | e65319009c87132088f8b6cbd1dde5a87d9237dc (diff) | |
| download | bcm5719-llvm-6d6676b9d1e37dba5439f42f5e282f4fca58f30a.tar.gz bcm5719-llvm-6d6676b9d1e37dba5439f42f5e282f4fca58f30a.zip | |
Add test for PR4997. This has been fixed for a while.
llvm-svn: 185614
| -rw-r--r-- | clang/test/Sema/address_spaces.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/Sema/address_spaces.c b/clang/test/Sema/address_spaces.c index 0ae3230a618..ebc510134b3 100644 --- a/clang/test/Sema/address_spaces.c +++ b/clang/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'}} |

