[ELF] MergeInputSection: replace Fatal with Err
[llvm-project.git] / clang / test / CodeGen / constexpr-c23-internal-linkage.c
blob1236062272a2d50292e91f88c5b4149266275d59
1 /*
2 * RUN: %clang_cc1 -std=c23 -emit-llvm -o - %s | FileCheck %s
3 */
5 constexpr int var_int = 1;
6 constexpr char var_char = 'a';
7 constexpr float var_float = 2.5;
9 const int *p_i = &var_int;
10 const char *p_c = &var_char;
11 const float *p_f = &var_float;
14 CHECK: @var_int = internal constant i32 1{{.*}}
15 CHECK: @var_char = internal constant i8 97{{.*}}
16 CHECK: @var_float = internal constant float 2.5{{.*}}