[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeGen / debug-line-1.c
blob56f447e1f0b7f90a9b102e7fa87992083a31b6e7
1 // RUN: %clang_cc1 -triple x86_64-apple-darwin -o - -emit-llvm -debug-info-kind=limited %s | FileCheck %s
2 // REQUIRES: asserts
3 // PR9796
5 // Check to make sure that we emit the block for the break so that we can count the line.
6 // CHECK: sw.bb: ; preds = %entry
7 // CHECK: br label %sw.epilog, !dbg !
9 extern int atoi(const char *);
11 int f(char* arg) {
12 int x = atoi(arg);
14 switch(x) {
15 case 1:
16 break;
19 return 0;