Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGenCXX / PR4983-constructor-conversion.cpp
blob797a1baa49e0d7e588a7f01c7158691425a3a2ae
1 // RUN: %clang_cc1 -emit-llvm-only %s
3 struct A {
4 A(const char *s){}
5 };
7 struct B {
8 A a;
10 B() : a("test") { }
13 void f() {
14 A a("test");