clang/test/DebugInfo/Generic/bit-int.c
raw| 1 | // RUN: %clang_cc1 -x c++ %s -debug-info-kind=standalone -gno-column-info -emit-llvm -o - | FileCheck %s |
| 2 | // RUN: %clang_cc1 -x c %s -debug-info-kind=standalone -gno-column-info -emit-llvm -o - | FileCheck %s |
| 3 | |
| 4 | unsigned _BitInt(17) a; |
| 5 | _BitInt(2) b; |
| 6 | |
| 7 | // CHECK: !DIBasicType(name: "_BitInt(2)", size: 8, dataSize: 2, encoding: DW_ATE_signed) |
| 8 | // CHECK: !DIBasicType(name: "unsigned _BitInt(17)", size: 32, dataSize: 17, encoding: DW_ATE_unsigned) |