| 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 | |
| 6 | extern "C" { |
| 7 | void *malloc(__SIZE_TYPE__); |
| 8 | } |
| 9 |
| 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 | |
| 6 | extern "C" { |
| 7 | void *malloc(__SIZE_TYPE__); |
| 8 | } |
| 9 |