URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [parms3.C] - Rev 12
Compare with Previous | Blame | View Log
// { 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;
};