1 ; RUN: not llc < %s -march=nvptx 2>&1 | FileCheck %s
2 ; used to seqfault and now fails with an "Undefined external symbol"
4 ; CHECK: LLVM ERROR: Undefined external symbol "__powidf2"
5 define double @powi(double, i32) {
6 %a = call double @llvm.powi.f64(double %0, i32 %1)
10 declare double @llvm.powi.f64(double, i32) nounwind readnone