parent
fb63a8701e
commit
ea84ebc2bc
|
@ -1,9 +1,11 @@
|
|||
// Build don't link:
|
||||
// Simplified from bug report by Paris Smaragdis <paris@media.mit.edu>
|
||||
|
||||
// crash test - XFAIL *-*-*
|
||||
|
||||
template <class T> class vector {};
|
||||
class foo {};
|
||||
int main() {
|
||||
foo f;
|
||||
f.vector(); // gets bogus error - ICE - XFAIL *-*-*
|
||||
f.vector(); // ERROR - not a method
|
||||
}
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
// Build don't link:
|
||||
// Simplified from report by Volker Dobler <volker@hugo.physik.uni-konstanz.de>
|
||||
|
||||
// crash test - XFAIL *-*-*
|
||||
|
||||
template <class T> class A {
|
||||
friend int ice<>( int k=0 ); // gets bogus error - ICE - XFAIL *-*-*
|
||||
friend int ice<>( int k=0 ); // ERROR - undeclared
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue