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]
Other format: [Raw text]

[Bug c++/29518] incorrect "



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-10-19 21:27 -------
I tried a simple testcase and variations on it (changing (T)(ok) to just ok and
such):
template <bool a> class b{};

template <class T> class t
{
  static bool const ok = true;
  b<(T)(ok)> c;
};

int main(void)
{
  t<int> a;
}


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29518


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