summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/invalidate-identifiers/b.h
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2015-03-11 00:00:51 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2015-03-11 00:00:51 +0000
commit9ab4ccecb3981c466951f4ff3f2a788eb1b1a6db (patch)
treedcfbbd543c68e6407a30e862582fb4421bac1c1d /clang/test/Modules/Inputs/invalidate-identifiers/b.h
parentb93fb82b3f8efa33ca1dbb4b47876369cc5297b8 (diff)
downloadbcm5719-llvm-9ab4ccecb3981c466951f4ff3f2a788eb1b1a6db.tar.gz
bcm5719-llvm-9ab4ccecb3981c466951f4ff3f2a788eb1b1a6db.zip
[modules] Fix iterator invalidation issue with names being added to a module
while we're writing out the identifier table. llvm-svn: 231890
Diffstat (limited to 'clang/test/Modules/Inputs/invalidate-identifiers/b.h')
-rw-r--r--clang/test/Modules/Inputs/invalidate-identifiers/b.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/invalidate-identifiers/b.h b/clang/test/Modules/Inputs/invalidate-identifiers/b.h
new file mode 100644
index 00000000000..2af246dc774
--- /dev/null
+++ b/clang/test/Modules/Inputs/invalidate-identifiers/b.h
@@ -0,0 +1,2 @@
+extern int v;
+#include "a.h"
OpenPOWER on IntegriCloud