tree-optimization/116481 - avoid building function_type[]
[official-gcc.git] / gcc / testsuite / g++.dg / cpp1y / pr84942.C
blob6e2a8ac1a520c8f847839343389f9e0077fed6d5
1 // PR c++/84942
2 // { dg-do compile { target c++14 } }
3 // { dg-options "-w" }
5 int a(__attribute__((b((int)__builtin_inf() * 1ULL / auto))));
6 // { dg-error "expected primary-expression before" "" { target *-*-* } .-1 }