brintos

brintos / llvm-project-archived public Read only

0
0
Text · 352 B · 7f550bc Raw
22 lines · cpp
1// RUN: %clang_cc1 -o - -emit-llvm -triple x86_64-linux-gnu %s2 3// Check there are no crash issue CodeGen action.4// https://github.com/llvm/llvm-project/pull/973085struct a {6} constexpr b;7class c {8public:9  c(a);10};11class B {12public:13  using d = int;14  struct e {15    enum { f } g;16    int h;17    c i;18    d j{};19  };20};21B::e k{B::e::f, int(), b};22