llvm-for-llvmta/tools/clang/test/SemaCXX/builtin-exception-spec.cpp

9 lines
229 B
C++
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -isystem %S/Inputs -fsyntax-only -verify %s
// RUN: %clang_cc1 -isystem %S/Inputs -fsyntax-only -verify -std=c++1z %s
// expected-no-diagnostics
#include <malloc.h>
extern "C" {
void *malloc(__SIZE_TYPE__);
}