Clang Project

clang_source_code/test/SemaCXX/builtin-exception-spec.cpp
1// RUN: %clang_cc1 -isystem %S/Inputs -fsyntax-only -verify %s
2// RUN: %clang_cc1 -isystem %S/Inputs -fsyntax-only -verify -std=c++1z %s
3// expected-no-diagnostics
4#include <malloc.h>
5
6extern "C" {
7void *malloc(__SIZE_TYPE__);
8}
9