diff options
Diffstat (limited to 'unittests/DebugInfo/CodeView/TypeIndexDiscoveryTest.cpp')
-rw-r--r-- | unittests/DebugInfo/CodeView/TypeIndexDiscoveryTest.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/unittests/DebugInfo/CodeView/TypeIndexDiscoveryTest.cpp b/unittests/DebugInfo/CodeView/TypeIndexDiscoveryTest.cpp index 60ca56b0d143..7ee56042f4be 100644 --- a/unittests/DebugInfo/CodeView/TypeIndexDiscoveryTest.cpp +++ b/unittests/DebugInfo/CodeView/TypeIndexDiscoveryTest.cpp @@ -600,4 +600,11 @@ TEST_F(TypeIndexIteratorTest, VariableSizeIntegers) { BaseClassRecord BaseClass2(MemberAccess::Public, TypeIndex(48), 1); writeFieldList(BaseClass1, BaseClass2); checkTypeReferences(0, TypeIndex(47), TypeIndex(48)); -}
\ No newline at end of file +} + +TEST_F(TypeIndexIteratorTest, UsingNamespace) { + UsingNamespaceSym UN(SymbolRecordKind::UsingNamespaceSym); + UN.Name = "std"; + writeSymbolRecords(UN); + checkTypeReferences(0); +} |