mirror of
https://github.com/opnsense/src.git
synced 2026-04-29 10:11:09 -04:00
17 lines
151 B
C++
17 lines
151 B
C++
|
|
// RUN: clang-cc -emit-llvm-only %s
|
||
|
|
|
||
|
|
struct A {
|
||
|
|
A(const char *s){}
|
||
|
|
};
|
||
|
|
|
||
|
|
struct B {
|
||
|
|
A a;
|
||
|
|
|
||
|
|
B() : a("test") { }
|
||
|
|
};
|
||
|
|
|
||
|
|
void f() {
|
||
|
|
A a("test");
|
||
|
|
}
|
||
|
|
|