Mercurial > hg > CbC > CbC_llvm
view clang/test/SemaCXX/Inputs/warn-new-overaligned-3.h @ 222:81f6424ef0e3 llvm-original
LLVM original branch
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 18 Jul 2021 22:10:01 +0900 |
parents | 1d019706d866 |
children |
line wrap: on
line source
#pragma GCC system_header // This header file pretends to be <new> from the system library, for the // purpose of the over-aligned warnings test. void* operator new(unsigned long) { return 0; } void* operator new[](unsigned long) { return 0; } void* operator new(unsigned long, void *) { return 0; } void* operator new[](unsigned long, void *) { return 0; }