diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-02-12 02:32:35 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-02-12 02:32:35 +0000 |
commit | 63a9514a2330b144575a136e38875193760126f7 (patch) | |
tree | a1b49fa1ff065237087ee6829f80a4e501a6fd3f /test/Modules/cxx-inline-namespace.cpp | |
parent | a2905ea609c8ed1bf41a6b917358983d9f26dc6d (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/cxx-inline-namespace.cpp')
-rw-r--r-- | test/Modules/cxx-inline-namespace.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Modules/cxx-inline-namespace.cpp b/test/Modules/cxx-inline-namespace.cpp new file mode 100644 index 0000000000..5b967901b3 --- /dev/null +++ b/test/Modules/cxx-inline-namespace.cpp @@ -0,0 +1,6 @@ +// RUN: rm -rf %t +// RUN: %clang_cc1 -x objective-c++ -fmodules -fmodules-cache-path=%t -I %S/Inputs %s -verify -std=c++11 + +@import cxx_inline_namespace; + +T x; // expected-error {{unknown type name 'T'}} |