1 // This is a regression test on debug info to make sure that llvm emitted
2 // debug info does not crash gdb.
3 // RUN: %llvmgcc -S -O0 -g %s -o - | \
4 // RUN: llc --disable-fp-elim -o %t.s -O0 -relocation-model=pic
5 // RUN: %compile_c %t.s -o %t.o
6 // RUN: echo {quit\n} > %t.in
7 // RUN: gdb -q -batch -n -x %t.in %t.o > /dev/null