diff options
author | Richard Trieu <rtrieu@google.com> | 2017-06-09 23:03:40 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2017-06-09 23:03:40 +0000 |
commit | be5cb93088429e598de3d7acfa5d9feb53b621fd (patch) | |
tree | 57a6dd3fbf204d75d8c7754dcc3f78768b11aa9e /clang/test/Modules/odr_hash.cpp | |
parent | 2843cad4359021d05d140174487aa75968900073 (diff) | |
download | bcm5719-llvm-be5cb93088429e598de3d7acfa5d9feb53b621fd.tar.gz bcm5719-llvm-be5cb93088429e598de3d7acfa5d9feb53b621fd.zip |
Revert r305110 to fix buildbot
llvm-svn: 305130
Diffstat (limited to 'clang/test/Modules/odr_hash.cpp')
-rw-r--r-- | clang/test/Modules/odr_hash.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/clang/test/Modules/odr_hash.cpp b/clang/test/Modules/odr_hash.cpp index fb7005be259..a6a0b74743a 100644 --- a/clang/test/Modules/odr_hash.cpp +++ b/clang/test/Modules/odr_hash.cpp @@ -900,24 +900,6 @@ S2 s2; #endif } -namespace TemplateArgument { -#if defined(FIRST) -template<typename> struct U1 {}; -struct S1 { - U1<int> u; -}; -#elif defined(SECOND) -template<typename> struct U1 {}; -struct S1 { - U1<double> u; -}; -#else -S1 s1; -// expected-error@first.h:* {{'TemplateArgument::S1::u' from module 'FirstModule' is not present in definition of 'TemplateArgument::S1' in module 'SecondModule'}} -// expected-note@second.h:* {{declaration of 'u' does not match}} -#endif -} - // Interesting cases that should not cause errors. struct S should not error // while struct T should error at the access specifier mismatch at the end. namespace AllDecls { |