1 // RUN: mlir-opt --no-implicit-module --verify-diagnostics --split-input-file %s | FileCheck %s
5 func.func private @foo()
9 // expected-error@-3 {{source must contain a single top-level operation, found: 2}}
10 func.func private @bar()
11 func.func private @baz()
15 // expected-error@-3 {{source must contain a single top-level operation, found: 0}}