1 // Test generation and import of simple C++20 Header Units.
5 // RUN: split-file %s %t
8 // RUN: not %clang_cc1 -std=c++20 -emit-header-unit \
9 // RUN: -xc++-header-unit-header hu-01.hh \
10 // RUN: -xc++-header-unit-header hu-02.hh \
11 // RUN: -o hu-01.pcm -verify 2>&1 | FileCheck %s
13 // CHECK: (frontend): multiple inputs are not valid for header units (first extra 'hu-02.hh')