reactos/lib/3rdparty/stlport/test/compiler/ttei2.cpp
Amine Khaldi 527f2f9057 [SHELL/EXPERIMENTS]
* Create a branch for some evul shell experiments.

svn path=/branches/shell-experiments/; revision=61927
2014-02-02 19:37:27 +00:00

32 lines
428 B
C++

/*
* It is known that this code not compiled by following compilers:
*
* It is known that this code compiled by following compilers:
* gcc 2.95.3
* gcc 3.3.3
* gcc 3.4.1
* MSVC 6
* MSVC 8
*/
struct A
{
private:
struct B
{
template <typename T>
static void f( T& ) {}
template <bool V>
struct C
{
};
};
};
template <>
struct A::B::C<true>
{
};