| 1 | #pragma GCC system_header |
|---|---|
| 2 | |
| 3 | // This header file pretends to be <new> from the system library, for the |
| 4 | // purpose of the over-aligned warnings test. |
| 5 | |
| 6 | void* operator new(unsigned long) { |
| 7 | return 0; |
| 8 | } |
| 9 | void* operator new[](unsigned long) { |
| 10 | return 0; |
| 11 | } |
| 12 | |
| 13 | void* operator new(unsigned long, void *) { |
| 14 | return 0; |
| 15 | } |
| 16 | |
| 17 | void* operator new[](unsigned long, void *) { |
| 18 | return 0; |
| 19 | } |
| 20 |