summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/parms3.C
blob: 1eba279aa36746fb9341d2109a5b5bf02296328a (plain)
1
2
3
4
5
6
7
8
// { dg-do assemble  }
// Test that we can represent static_casts in template arg lists.

template <int I> struct A { };

template <class T> struct B {
  A<static_cast<T>(3.14)> a;
};