namespace PR4103 {
class APInt {
char foo;
};
class APSInt : public APInt {
char bar;
public:
APSInt &operator=(const APSInt &RHS);
};
APSInt& APSInt::operator=(const APSInt &RHS) {
APInt::operator=(RHS);
return *this;
}
template<typename T>
struct X {
X();
};
void test() {
X<int>();
}
}
namespace derefvolatile {
void f(volatile char* x) {
*x; (void)*x; volatile char y = 10;
(void)y; }
}
namespace AnonObject {
struct Foo {
Foo(const char* const message);
~Foo();
};
void f() {
Foo("Hello World!"); int(1); }
}