[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / ext / pr56790-1.C
blobb413e8ba3d16e47520e270fad2e65ade77407239
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-ccp1" } */
3 /* { dg-prune-output "changes the ABI" } */
5 typedef long vec __attribute__ ((vector_size (2 * sizeof (long))));
7 vec f (void)
9   vec a = {  5,  7 };
10   vec b = { 11, 13 };
11   vec m = { -1,  0 };
12   return m ? a : b;
15 /* { dg-final { scan-tree-dump "{ 5, 13 }" "ccp1" } } */
16 /* { dg-final { scan-tree-dump-not "VEC_COND_EXPR" "ccp1" } } */