mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:48:12 +00:00
LibCpp: Move parser tests to Userland/Libraries/LibCpp/Tests/parser
This commit is contained in:
parent
fd864fbb74
commit
a38c330c68
16 changed files with 4 additions and 4 deletions
13
Userland/Libraries/LibCpp/Tests/parser/struct.cpp
Normal file
13
Userland/Libraries/LibCpp/Tests/parser/struct.cpp
Normal file
|
@ -0,0 +1,13 @@
|
|||
|
||||
struct MyStruct
|
||||
{
|
||||
int x;
|
||||
struct s* next;
|
||||
};
|
||||
|
||||
int foo()
|
||||
{
|
||||
MyStruct s;
|
||||
printf("%d\n", s.x);
|
||||
return s.x;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue