summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/objc-categories.m
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-09-17 00:05:03 +0000
committerDouglas Gregor <dgregor@apple.com>2011-09-17 00:05:03 +0000
commit2fd3d401f9fd1fd8779374a8de31532ad5dba0fc (patch)
treeba555e0881d861f7e27d5550d6633916ee396e59 /clang/test/Modules/objc-categories.m
parent4641efe304a716fc68777df042c3d317a59be678 (diff)
downloadbcm5719-llvm-2fd3d401f9fd1fd8779374a8de31532ad5dba0fc.tar.gz
bcm5719-llvm-2fd3d401f9fd1fd8779374a8de31532ad5dba0fc.zip
With modules, we can end up loading a new module after we've seen an
arbitrary amount of code. This forces us to stage the AST writer more strictly, ensuring that we don't assign a declaration ID to a declaration until after we're certain that no more modules will get loaded. llvm-svn: 139974
Diffstat (limited to 'clang/test/Modules/objc-categories.m')
-rw-r--r--clang/test/Modules/objc-categories.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/Modules/objc-categories.m b/clang/test/Modules/objc-categories.m
index 6022187f6a5..87aaa5c12ca 100644
--- a/clang/test/Modules/objc-categories.m
+++ b/clang/test/Modules/objc-categories.m
@@ -54,12 +54,13 @@ __import_module__ diamond_top;
#elif defined(MODULE_BOTTOM)
__import_module__ diamond_left;
-__import_module__ diamond_right;
@interface Foo(Bottom)
-(void)bottom;
@end
+__import_module__ diamond_right;
+
@interface LeftFoo(Bottom)
-(void)bottom;
@end
OpenPOWER on IntegriCloud