blob: 2bcec1589df02103f6ef08c010bf992a7b83f7aa [file] [log] [blame]
Yuanfang Chen4ad76852020-02-11 23:01:35 -08001; RUN: not --crash llc -mtriple riscv32-unknown-elf -o - %s \
Ana Pazos2e4106b2018-07-26 17:49:43 +00002; RUN: 2>&1 | FileCheck %s
Yuanfang Chen4ad76852020-02-11 23:01:35 -08003; RUN: not --crash llc -mtriple riscv64-unknown-elf -o - %s \
Ana Pazos2e4106b2018-07-26 17:49:43 +00004; RUN: 2>&1 | FileCheck %s
5
6; CHECK: LLVM ERROR: Function interrupt attribute argument not supported!
7define void @isr_user() #0 {
8 ret void
9}
10
11attributes #0 = { "interrupt"="foo" }