aboutsummaryrefslogtreecommitdiff
path: root/test/Modules/Inputs/cxx-inline-namespace.h
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-02-12 02:32:35 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-02-12 02:32:35 +0000
commit63a9514a2330b144575a136e38875193760126f7 (patch)
treea1b49fa1ff065237087ee6829f80a4e501a6fd3f /test/Modules/Inputs/cxx-inline-namespace.h
parenta2905ea609c8ed1bf41a6b917358983d9f26dc6d (diff)
Remove an assert which triggers when a decl context in a module hits the 'has
lexical storage but not visible storage' case in C++. It's unclear whether we even need the special-case handling for C++, since it seems to be working around our not serializing a lookup table for the TU in C. But in any case, the assertion is incorrect. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174931 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Modules/Inputs/cxx-inline-namespace.h')
-rw-r--r--test/Modules/Inputs/cxx-inline-namespace.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Modules/Inputs/cxx-inline-namespace.h b/test/Modules/Inputs/cxx-inline-namespace.h
new file mode 100644
index 0000000000..2525ad3569
--- /dev/null
+++ b/test/Modules/Inputs/cxx-inline-namespace.h
@@ -0,0 +1,11 @@
+namespace std {
+ inline namespace __1 {
+ namespace __is_function_imp {}
+ }
+}
+
+namespace std {
+ inline namespace __1 {
+ typedef int size_t;
+ }
+}