summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/debug-info-line3.c
blob: d2efcf724094e441f65e070a2befcac5413d2795 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// RUN: %clang_cc1 -g -S -emit-llvm %s -o - | FileCheck %s

void func(char c, char* d)
{
  *d = c + 1;
  return;
  

  
  
  
  
}

// CHECK: ret void, !dbg [[LINE:.*]]
// CHECK: [[LINE]] = !MDLocation(line: 6,
OpenPOWER on IntegriCloud