Make test more lenient for custom clang version strings
[llvm-project.git] / clang / test / C / C99 / n809_3.c
blobf1283f5fe1632c84122d3ccdefbc62905c0e2067
1 // RUN: %clang_cc1 -emit-llvm -std=c99 %s -o - | FileCheck %s
3 // Demonstrate that statics are properly zero initialized.
4 static _Complex float f_global;
5 void func(void) {
6 static _Complex double d_local;
7 d_local = f_global;
10 // CHECK-DAG: @func.d_local = internal global { double, double } zeroinitializer
11 // CHECK-DAG: @f_global = internal global { float, float } zeroinitializer