This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

GCC bug report


// bug report:
// no #includes
// gcc version 2.95.2 19991024 (release)
// using MS-DOS 6.22, Rhide 1.4

template <typename T, int sz>
inline int array_size((T[sz]) &e) // internal compiler error in this line
{
  return sz;
}

int main()
{
}

// I'm sending this file to gcc-bugs@gcc.gnu.org
// my mail address is tszeredi@inf.bme.hu
// please send an acknowlegdement of receiving

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]