1 // RUN: %clang_cc1 -triple mips-none-none -emit-llvm -o - %s | FileCheck %s
2
g3(char (& buffer)[sizeof (T ()+5.0)])3 template <class T> void g3(char (&buffer)[sizeof(T() + 5.0)]) {}
4 template void g3<int>(char (&)[sizeof(double)]);
5 // CHECK: _Z2g3IiEvRAszplcvT__ELd4014000000000000E_c
6
g4(char (& buffer)[sizeof (T ()+5.0L)])7 template <class T> void g4(char (&buffer)[sizeof(T() + 5.0L)]) {}
8 template void g4<int>(char (&)[sizeof(long double)]);
9 // CHECK: _Z2g4IiEvRAszplcvT__ELe4014000000000000E_c
10
g5(char (& buffer)[sizeof (T ()+5)])11 template <class T> void g5(char (&buffer)[sizeof(T() + 5)]) {}
12 template void g5<int>(char (&)[sizeof(int)]);
13 // CHECK: _Z2g5IiEvRAszplcvT__ELi5E_c
14
g6(char (& buffer)[sizeof (T ()+5L)])15 template <class T> void g6(char (&buffer)[sizeof(T() + 5L)]) {}
16 template void g6<int>(char (&)[sizeof(long int)]);
17 // CHECK: _Z2g6IiEvRAszplcvT__ELl5E_c
18