1 /* RUN: %clang_cc1 -std=c99 -verify -emit-llvm -o - %s | FileCheck %s
2 RUN: %clang_cc1 -std=c11 -verify -emit-llvm -o - %s | FileCheck %s
3 RUN: %clang_cc1 -std=c17 -verify -emit-llvm -o - %s | FileCheck %s
4 RUN: %clang_cc1 -std=c2x -verify -emit-llvm -o - %s | FileCheck %s
8 * Ambiguity in initialization
13 dr208_init(0), /* expected-note {{previous initialization with side effects is here (side effects will not occur at run time)}} */
15 [0] = dr208_init(2) /* expected-warning {{initializer overrides prior initialization of this subobject}} */
18 /* CHECK-NOT: call {{signext i32|i32}} @dr208_init(i32 noundef {{(signext )?}}0)
19 CHECK-DAG: call {{signext i32|i32}} @dr208_init(i32 noundef {{(signext )?}}1)
20 CHECK-DAG: call {{signext i32|i32}} @dr208_init(i32 noundef {{(signext )?}}2)
21 CHECK-NOT: call {{signext i32|i32}} @dr208_init(i32 noundef {{(signext )?}}0)