brintos

brintos / llvm-project-archived public Read only

0
0
Text · 479 B · 56f447e Raw
21 lines · c
1// RUN: %clang_cc1 -triple x86_64-apple-darwin -o - -emit-llvm -debug-info-kind=limited %s | FileCheck %s2// REQUIRES: asserts3// PR97964 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 = %entry7// CHECK: br label %sw.epilog, !dbg !8  9extern int atoi(const char *);10 11int f(char* arg) {12  int x = atoi(arg);13  14  switch(x) {15    case 1:16      break;17  }18 19  return 0;20}21