Commit ea84ebc2 by Alexandre Oliva

added crash test

From-SVN: r23915
parent fb63a870
// 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
}
// 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
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment