summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/char8_t.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2018-05-01 06:48:30 +0000
committerChandler Carruth <chandlerc@gmail.com>2018-05-01 06:48:30 +0000
commitabb22405e6ccf8263033d05a107be9980b345718 (patch)
treea087de8f2d5f2f140531eb9073342e1cf8888a3f /clang/test/CodeGenCXX/char8_t.cpp
parent3a8244df6fb88a6670470e603445c72f224db9e3 (diff)
downloadbcm5719-llvm-abb22405e6ccf8263033d05a107be9980b345718.tar.gz
bcm5719-llvm-abb22405e6ccf8263033d05a107be9980b345718.zip
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. llvm-svn: 331245
Diffstat (limited to 'clang/test/CodeGenCXX/char8_t.cpp')
-rw-r--r--clang/test/CodeGenCXX/char8_t.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/char8_t.cpp b/clang/test/CodeGenCXX/char8_t.cpp
index e4dba584a6e..5aa03830606 100644
--- a/clang/test/CodeGenCXX/char8_t.cpp
+++ b/clang/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<typename T> void g(decltype(T() + u8"foo" + u8'r')) {}
template void g<int>(const char8_t*);
OpenPOWER on IntegriCloud