Commit 91f51a6d by Benjamin Kosnik

H

nortel regressions since 97r1

From-SVN: r24094
parent 543df66a
// 981203 bkoz
// g++/15054
// Build don't link:
// Special g++ Options: -Wno-pointer-arith
// note that -pedantic also turns on this warning
void cuba(void) {
void* p;
p++;
}
// 981203 bkoz
// g++/15800 - test
// Build don't link:
struct panama {
panama();
panama(panama &);
panama& operator=(panama&); // ERROR - // ERROR -
};
extern panama dig();
void foo() {
panama obj;
obj = dig(); // ERROR - // ERROR -
}
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