r222408 - Fix buildbots.
Richard Smith
richard-llvm at metafoo.co.uk
Wed Nov 19 20:09:55 PST 2014
Author: rsmith
Date: Wed Nov 19 22:09:55 2014
New Revision: 222408
URL: http://llvm.org/viewvc/llvm-project?rev=222408&view=rev
Log:
Fix buildbots.
Modified:
cfe/trunk/test/CodeGenCXX/mangle-literal-suffix.cpp
Modified: cfe/trunk/test/CodeGenCXX/mangle-literal-suffix.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/mangle-literal-suffix.cpp?rev=222408&r1=222407&r2=222408&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/mangle-literal-suffix.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/mangle-literal-suffix.cpp Wed Nov 19 22:09:55 2014
@@ -1,17 +1,17 @@
// RUN: %clang_cc1 -triple mips-none-none -emit-llvm -o - %s | FileCheck %s
template <class T> void g3(char (&buffer)[sizeof(T() + 5.0)]) {}
-template void g3(char (&)[sizeof(double)]);
-// CHECK: _Z2g3IdEvRAszplcvT__ELd4014000000000000E_c
+template void g3<int>(char (&)[sizeof(double)]);
+// CHECK: _Z2g3IiEvRAszplcvT__ELd4014000000000000E_c
template <class T> void g4(char (&buffer)[sizeof(T() + 5.0L)]) {}
-template void g4(char (&)[sizeof(long double)]);
-// CHECK: _Z2g4IeEvRAszplcvT__ELe4014000000000000E_c
+template void g4<int>(char (&)[sizeof(long double)]);
+// CHECK: _Z2g4IiEvRAszplcvT__ELe4014000000000000E_c
template <class T> void g5(char (&buffer)[sizeof(T() + 5)]) {}
-template void g5(char (&)[sizeof(int)]);
+template void g5<int>(char (&)[sizeof(int)]);
// CHECK: _Z2g5IiEvRAszplcvT__ELi5E_c
template <class T> void g6(char (&buffer)[sizeof(T() + 5L)]) {}
-template void g6(char (&)[sizeof(long int)]);
-// CHECK: _Z2g6IlEvRAszplcvT__ELl5E_c
+template void g6<int>(char (&)[sizeof(long int)]);
+// CHECK: _Z2g6IiEvRAszplcvT__ELl5E_c
More information about the cfe-commits
mailing list