Correct testcase use of typename to be inside a template II
This commit is contained in:
parent
fe39ef5fae
commit
12dbbf13cc
1 changed files with 4 additions and 4 deletions
|
|
@ -14,12 +14,12 @@
|
|||
|
||||
#if defined(SWIG) || defined(__clang__)
|
||||
// gcc doesn't parse this (tested with gcc-4.8)
|
||||
void testXXX1(::template XXX<int>::template YYY<int>::type xx) {}
|
||||
template<typename X> void testXXX1(::template XXX<int>::template YYY<int>::type xx) {}
|
||||
#else
|
||||
void testXXX1(:: XXX<int>::template YYY<int>::type xx) {}
|
||||
template<typename X> void testXXX1(:: XXX<int>::template YYY<int>::type xx) {}
|
||||
#endif
|
||||
void testXXX2(XXX<int>::YYY<int>::type xx) {}
|
||||
typedef ::XXX<int>::template YYY<int>::type templatetyped;
|
||||
template<typename X> void testXXX2(XXX<int>::YYY<int>::type xx) {}
|
||||
template<typename X> void testXXX3(::XXX<int>::template YYY<int>::type) {}
|
||||
%}
|
||||
|
||||
%inline %{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue