summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/attr-nodebug.c
blob: b96ad26d6d04c0cb451c70b75a2de3b0da164196 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: clang-cc -g -emit-llvm -o %t %s &&
// RUN: not grep 'call void @llvm.dbg.func.start' %t

void t1() __attribute__((nodebug));

void t1()
{
  int a = 10;
  
  a++;
}

OpenPOWER on IntegriCloud