Clang Project

clang_source_code/test/Preprocessor/header_is_main_file.c
1// RUN: %clang_cc1 -x c-header -ffreestanding -Eonly -verify %s
2// expected-no-diagnostics
3
4#pragma once
5#include_next "stdint.h"
6#if !__has_include_next("stdint.h")
7#error "__has_include_next failed"
8#endif
9