OSDN Git Service

2014-02-26 Fabien Chene <fabien@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / nontype2.C
1 template <bool> struct A {};
2  
3 template <bool> struct B
4 {
5   void foo()
6   {
7     const int i=0;
8     typedef A< i<=1 > C;
9     typedef A< i<=2 > C;
10   }
11 };