Debian Codegraph @

gcc/testsuite/g++.dg/template/init5.C

raw
1 // Copyright (C) 2005 Free Software Foundation, Inc.
2 // Contributed by Nathan Sidwell 31 May 2005 <[email protected]>
3
4 // PR 21165. ICE on valid
5 // Origin:Volker Reichelt [email protected]
6
7 template<typename T> bool foo()
8 {
9 const int i = T();
10 return i > 0;
11 }