r185614 - Add test for PR4997. This has been fixed for a while.

Richard Smith richard-llvm at metafoo.co.uk
Wed Jul 3 21:10:46 PDT 2013


Author: rsmith
Date: Wed Jul  3 23:10:46 2013
New Revision: 185614

URL: http://llvm.org/viewvc/llvm-project?rev=185614&view=rev
Log:
Add test for PR4997. This has been fixed for a while.

Modified:
    cfe/trunk/test/Sema/address_spaces.c

Modified: cfe/trunk/test/Sema/address_spaces.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/address_spaces.c?rev=185614&r1=185613&r2=185614&view=diff
==============================================================================
--- cfe/trunk/test/Sema/address_spaces.c (original)
+++ cfe/trunk/test/Sema/address_spaces.c Wed Jul  3 23:10:46 2013
@@ -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'}}





More information about the cfe-commits mailing list