blob: ea2b3a2274fd3beab84ff8d5ffa56edd22a72731 [file] [edit]
// RUN: rm -rf %t
// RUN: mkdir %t
// RUN: touch %t/A.pcm
// RUN: not %clang_cc1 -std=c++20 -fmodule-file=A=%t/A.pcm -ast-dump %s 2>&1 | FileCheck %s
// CHECK: fatal error: file '{{.*}}A.pcm' is not a valid module file
// CHECK: VarDecl {{.*}} n 'int'
import A;
import NonExistent;
int n;