view clang/test/Preprocessor/header_is_main_file.c @ 180:680fa57a2f20

fix compile errors.
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 30 May 2020 17:44:06 +0900
parents 1d019706d866
children
line wrap: on
line source

// RUN: %clang_cc1 -x c-header -ffreestanding -Eonly -verify %s
// expected-no-diagnostics

#pragma once
#include_next "stdint.h"
#if !__has_include_next("stdint.h")
#error "__has_include_next failed"
#endif