PR c++/67273
[official-gcc.git] / gcc / testsuite / g++.dg / parse / using4.C
blob2abe399f8dc7a94e79511c5def0c4a21d80ebb22
1 // PR c++/58457
3 struct allocator
5   void operator delete (void*);
6   void* operator new (__SIZE_TYPE__, void*);
7 };
9 struct type : public allocator
11   type() {}
12   using allocator::operator new;
13   using allocator::operator delete;
16 int main()
18   new (0) type;
19   return 0;