]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/debug-info-line.c
Vendor import of clang trunk r238337:
[FreeBSD/FreeBSD.git] / test / CodeGen / debug-info-line.c
1 // RUN: %clang_cc1 -w -gline-tables-only -fexceptions -fcxx-exceptions -S -emit-llvm %s -o - | FileCheck %s
2
3 int f1(int a, int b) {
4   // CHECK: icmp {{.*}}, !dbg [[DBG_F1:!.*]]
5 #line 100
6   return a  //
7          && //
8          b;
9 }
10
11 // CHECK: [[DBG_F1]] = !DILocation(line: 100,