mirror of
https://github.com/dlang/dmd.git
synced 2025-04-28 14:10:11 +03:00
Move dmd files into compiler/
This commit is contained in:
parent
20bd0cacbd
commit
6374bb87b7
4579 changed files with 4 additions and 4 deletions
15
compiler/test/runnable_cxx/extra-files/cpp19179.cpp
Normal file
15
compiler/test/runnable_cxx/extra-files/cpp19179.cpp
Normal file
|
@ -0,0 +1,15 @@
|
|||
// https://issues.dlang.org/show_bug.cgi?id=19179
|
||||
|
||||
struct SmallStruct { int x, y; };
|
||||
|
||||
SmallStruct test_small(SmallStruct);
|
||||
void test_small_noret(SmallStruct);
|
||||
|
||||
void cppmain()
|
||||
{
|
||||
SmallStruct s;
|
||||
s.x = 10;
|
||||
s.y = 20;
|
||||
test_small(s);
|
||||
test_small_noret(s);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue