mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-28 14:46:10 +00:00

Currently clang crashes with `-module-file-info` and input file which is not a module Emit error instead of segfaulting. Fix #98365
4 lines
154 B
C
4 lines
154 B
C
// RUN: not %clang_cc1 -module-file-info %s 2>&1 | FileCheck %s
|
|
|
|
// CHECK: fatal error: file '{{.*}}module-file-info-not-a-module.c' is not a module file
|