I found a case which gcc can compile while llvm-gcc can not. I'm using the gcc4.1 and  the most recent llvm-gcc.<br><br>Here is the case:<br><br>template <int N><br>class T { <br>public:<br>  int V;<br>};<br><br>

T<4> test(T<4> a[4][8]) {<br>  return a[3][3];<br>}<br><br><br><br>llvm-gcc dumped:<br><br>fail.cpp: In function \u2018T<4> test(T<4> (*)[8])\u2019:<br>fail.cpp:7: error: invalid use of incomplete type \u2018class T<4>\u2019<br>

fail.cpp:2: error: declaration of \u2018class T<4>\u2019<br><br>Guys, any idea for this issue?<br>