| # RUN: not llc -run-pass=none -filetype=null %s 2>&1 | FileCheck %s | |
| # Test parsing error for a 'foldable' marker on a non-register operand. | |
| # CHECK: [[@LINE+5]]:{{[0-9]+}}: only a register operand can be 'foldable' | |
| --- | |
| name: foo | |
| body: | | |
| bb.0: | |
| INLINEASM &"", attdialect, mem:m foldable | |
| ... |