1 // RUN: mlir-opt %s -split-input-file -verify-diagnostics
5 func.func @module_op() {
6 // expected-error@+1 {{'builtin.module' op expects region #0 to have 0 or 1 blocks}}
9 "test.dummy"() : () -> ()
11 "test.dummy"() : () -> ()
18 func.func @module_op() {
19 // expected-error@+1 {{region should have no arguments}}
28 // expected-error@+1 {{can only contain attributes with dialect-prefixed names}}
29 module attributes {attr} {