From: Chandler Carruth Date: Tue, 1 May 2018 06:48:30 +0000 (+0000) Subject: Fix up r331244 - the emitted definition is weak_odr linkage. Should get X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c2a765c27f160a55d7fa8a841f60b70184661926;p=clang Fix up r331244 - the emitted definition is weak_odr linkage. Should get the build bots to healthy again without a full revert. As the functionality added has nothing to do with linkage this seems unlikely to represent a deep or interesting bug in the patch. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@331245 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGenCXX/char8_t.cpp b/test/CodeGenCXX/char8_t.cpp index e4dba584a6..5aa0383060 100644 --- a/test/CodeGenCXX/char8_t.cpp +++ b/test/CodeGenCXX/char8_t.cpp @@ -3,6 +3,6 @@ // CHECK: define void @_Z1fDu( void f(char8_t c) {} -// CHECK: define void @_Z1gIiEvDTplplcvT__ELA4_KDuELDu114EE +// CHECK: define weak_odr void @_Z1gIiEvDTplplcvT__ELA4_KDuELDu114EE template void g(decltype(T() + u8"foo" + u8'r')) {} template void g(const char8_t*);