view clang/test/SemaCXX/Inputs/warn-new-overaligned-3.h @ 266:00f31e85ec16 default tip

Added tag current for changeset 31d058e83c98
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 14 Oct 2023 10:13:55 +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;
}