mirror of
https://github.com/reactos/reactos.git
synced 2024-09-21 02:01:15 +00:00
c2d0d784c7
- Create a branch to do a proper merge of USB work from a trunk base instead of from cmake-bringup - In the future, DO NOT under any circumstances branch another branch. This leads to merge problems! svn path=/branches/usb-bringup-trunk/; revision=55018
35 lines
586 B
C++
35 lines
586 B
C++
/*
|
|
* It is known that this code not compiled by following compilers:
|
|
*
|
|
* MSVC 6
|
|
*
|
|
* It is known that this code compiled by following compilers:
|
|
*
|
|
* MSVC 8
|
|
* gcc 4.1.1
|
|
*/
|
|
|
|
/*
|
|
* This code represent what STLport waits from a compiler which support
|
|
* the partial template function ordering (!_STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER)
|
|
*/
|
|
|
|
template <class T1>
|
|
struct template_struct {};
|
|
|
|
template <class T1>
|
|
int func(T1 p1);
|
|
|
|
template <class T1>
|
|
int func(template_struct<T1>);
|
|
|
|
|
|
int foo()
|
|
{
|
|
int tmp1 = 0;
|
|
template_struct<int> tmp2;
|
|
func(tmp1);
|
|
func(tmp2);
|
|
return 0;
|
|
}
|