Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / SemaCXX / PR97308.cpp
blob7f550bc15d741c6d227d9dcda2eb3eba03d3a864
1 // RUN: %clang_cc1 -o - -emit-llvm -triple x86_64-linux-gnu %s
3 // Check there are no crash issue CodeGen action.
4 // https://github.com/llvm/llvm-project/pull/97308
5 struct a {
6 } constexpr b;
7 class c {
8 public:
9 c(a);
11 class B {
12 public:
13 using d = int;
14 struct e {
15 enum { f } g;
16 int h;
17 c i;
18 d j{};
21 B::e k{B::e::f, int(), b};