Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/fntmpdefarg7.C

raw
1 // PR c++/84489
2 // { dg-do compile { target c++11 } }
3
4 template <class T = int, T N = T(), bool B = (N >> 1)>
5 T f1() {return 0;}
6
7 int main()
8 {
9 f1(); // Bug here
10 }