Mercurial > hg > CbC > CbC_llvm
comparison llvm/test/TableGen/foreach-range-parse-errors4.td @ 150:1d019706d866
LLVM10
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 15:10:13 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
147:c2174574ed3a | 150:1d019706d866 |
---|---|
1 // RUN: not llvm-tblgen %s 2>&1 | FileCheck -DFILE=%s %s | |
2 // Make sure there is no crash on undefined variable | |
3 | |
4 // CHECK: [[FILE]]:[[@LINE+2]]:17: error: Variable not defined: 'foo' | |
5 // CHECK: [[FILE]]:[[@LINE+1]]:21: error: expected declaration in for | |
6 foreach Index = foo in { | |
7 def arst#Index; | |
8 } | |
9 |