summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/odr_hash.cpp
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2017-06-03 00:11:23 +0000
committerRichard Trieu <rtrieu@google.com>2017-06-03 00:11:23 +0000
commitd064d1b6e80a0a8323932b346b38bfbbcbacf5c1 (patch)
tree88eef2b744b6ec16bcb1eabeebce613fb45c14ee /clang/test/Modules/odr_hash.cpp
parent87af6460342c83374f97fa83d3daa17eea3309cb (diff)
downloadbcm5719-llvm-d064d1b6e80a0a8323932b346b38bfbbcbacf5c1.tar.gz
bcm5719-llvm-d064d1b6e80a0a8323932b346b38bfbbcbacf5c1.zip
Revert r304592
r304592 - [ODRHash] Add support for TemplateArgument types. Possibly causing one of the errors in modules build bot. llvm-svn: 304618
Diffstat (limited to 'clang/test/Modules/odr_hash.cpp')
-rw-r--r--clang/test/Modules/odr_hash.cpp18
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 {
OpenPOWER on IntegriCloud