summaryrefslogtreecommitdiff
path: root/mlir/test/Analysis/invalid.mlir
blob: 899c095804a02d8dfac5957361385979c09a4efd (plain)
1
2
3
4
5
6
7
// RUN: mlir-opt -split-input-file -pass-pipeline='builtin.module(func.func(test-foo-analysis))'  %s -verify-diagnostics

// -----

// expected-error @+1 {{expected at least one block in the region}}
func.func private @no_block_func_declaration() -> ()