[MIParser] Don't use Register to hold Dwarf register numbers. NFC (#125263)
[llvm-project.git] / clang / test / CXX / dcl.decl / dcl.init / dcl.init.general / p16-cxx20.cpp
blob1ad205d769c3895c9b6b57dc0d794412bb5face7
1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++20 %s
3 // If the initializer is (), the object is value-initialized.
5 // expected-no-diagnostics
6 namespace GH69890 {
7 struct A {
8 constexpr A() {}
9 int x;
12 struct B : A {
13 int y;
16 static_assert(B().x == 0);
17 static_assert(B().y == 0);