1 // RUN: %clang_cc1 -emit-llvm -disable-llvm-passes -O -fsanitize=signed-integer-overflow -fsanitize-trap=signed-integer-overflow %s -o - -debug-info-kind=line-tables-only | FileCheck %s
2 
3 
4 void foo(volatile int a) {
5   // CHECK: call void @llvm.ubsantrap(i8 0){{.*}} !dbg [[LOC:![0-9]+]]
6   a = a + 1;
7   a = a + 1;
8 }
9 
10 // CHECK: [[LOC]] = !DILocation(line: 0
11