view clang/test/Modules/reserved-names-system-header-2.cpp @ 252:1f2b6ac9f198 llvm-original

LLVM16-1
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 18 Aug 2023 09:04:13 +0900
parents
children
line wrap: on
line source

// RUN: %clang_cc1 -std=c++20 -fsyntax-only -verify %s
// expected-no-diagnostics

// Show that we suppress the reserved identifier diagnostic in a system header.
# 100 "file.cpp" 1 3  // Enter a system header
export module __test;
# 100 "file.cpp" 2 3  // Leave the system header