blob: 5256d2ca4ed4887e6946aaccf171310d4e08f530 [file] [log] [blame]
template<typename T>
struct A
{
typedef T type();
type i : 2; // { dg-error "8:cannot declare bit-field" }
};