summaryrefslogtreecommitdiff
path: root/test/CodeGen/debug-info-line.c
blob: 24981b54b7e95cba01b3250139d11804e75cb5e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %clang_cc1 -w -debug-info-kind=line-tables-only -fexceptions -fcxx-exceptions -S -emit-llvm %s -o - | FileCheck %s

int f1(int a, int b) {
  // CHECK: icmp {{.*}}, !dbg [[DBG_F1:!.*]]
#line 100
  return a  //
         && //
         b;
}

// CHECK: [[DBG_F1]] = !DILocation(line: 100,