13 lines · plain
1// RUN: rm -rf %t.modules2// RUN: not %clang_cc1 -fmodules -fmodules-cache-path=%t.modules \3// RUN: -fmodule-map-file=%s -I%S -include "Inputs/empty.h" \4// RUN: -fsyntax-only -x c++ /dev/null 2>&1 | FileCheck %s5 6// CHECK: error: expected ']' to close attribute7// CHECK-NOT: error: expected '{' to start module 'A'8 9module A [system {10 header "Inputs/empty.h"11 private header "Inputs/empty.h"12}13