blob: 795457b68daa74ee0d586c82158d362c31173753 [file] [log] [blame]
/* PR c++/30895 This used to ICE. */
/* { dg-do "compile" } */
template<int> struct A {};
template<typename T> struct B
{
A<T(0i)> a1; /* { dg-error "imaginary constants are a GCC extension" } */
A<T(0i)> a2; /* { dg-error "imaginary constants are a GCC extension" } */
};