URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [parms3.C] - Rev 154
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;
};