OSDN Git Service

* config/xtensa/xtensa.c (xtensa_output_literal): Don't use #if.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / other / default2.C
1 // PR c++/16829
2 // { dg-do "compile" }
3
4 template<typename T> void foo(T, int = 0, int) {}  // { dg-error "default" }
5
6 void bar()
7 {
8   foo(0);
9 }