Enable flate-combine.
[official-gcc.git] / gcc / testsuite / g++.dg / abi / no-linkage-expr1.C
blobc3b1286ba4ca8924485c9e34a14c635ec12ce562
1 // { dg-do compile { target c++11 } }
2 // { dg-final { scan-assembler-not "weak.*_Z" } }
4 using P = struct {}*;
6 template <int N>
7 void f(int(*)[((P)0, N)]) {}
9 template <int N>
10 struct A { };
12 template <int N>
13 void g(A<((P)0,N)>) {}
15 int main()
17   f<1>(0);
18   g<1>({});