diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-07-08 21:15:32 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-07-08 21:15:32 +0000 |
commit | 696e812bb3f7eb03b97a624b8ab487bb70e8f600 (patch) | |
tree | 51c6c587c26243c05c23e45a82424d786b53a422 /clang/test/Modules | |
parent | 13e20f1bbfb4ef8542885d2381dec9c5f0c36e0c (diff) | |
download | bcm5719-llvm-696e812bb3f7eb03b97a624b8ab487bb70e8f600.tar.gz bcm5719-llvm-696e812bb3f7eb03b97a624b8ab487bb70e8f600.zip |
[modules] Fix crash when writing an update record for a redeclaration of an empty namespace.
llvm-svn: 241732
Diffstat (limited to 'clang/test/Modules')
-rw-r--r-- | clang/test/Modules/Inputs/namespaces-left.h | 2 | ||||
-rw-r--r-- | clang/test/Modules/Inputs/namespaces-right.h | 2 | ||||
-rw-r--r-- | clang/test/Modules/Inputs/namespaces-top.h | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/namespaces-left.h b/clang/test/Modules/Inputs/namespaces-left.h index 787fe753fba..5badf62764b 100644 --- a/clang/test/Modules/Inputs/namespaces-left.h +++ b/clang/test/Modules/Inputs/namespaces-left.h @@ -71,3 +71,5 @@ namespace N12 { } Foo *getFoo(); } + +namespace Empty {} diff --git a/clang/test/Modules/Inputs/namespaces-right.h b/clang/test/Modules/Inputs/namespaces-right.h index 77f54ead65a..dd2ac33f910 100644 --- a/clang/test/Modules/Inputs/namespaces-right.h +++ b/clang/test/Modules/Inputs/namespaces-right.h @@ -66,3 +66,5 @@ namespace N12 { } void consumeFoo(Foo*); } + +namespace Empty {} diff --git a/clang/test/Modules/Inputs/namespaces-top.h b/clang/test/Modules/Inputs/namespaces-top.h index 7bf5394f55b..006b53c8fd2 100644 --- a/clang/test/Modules/Inputs/namespaces-top.h +++ b/clang/test/Modules/Inputs/namespaces-top.h @@ -21,3 +21,5 @@ namespace N13 { namespace AddAndReexportBeforeImport { int S; } + +namespace Empty {} |