mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibCpp: Move parser tests to Userland/Libraries/LibCpp/Tests/parser
This commit is contained in:
parent
fd864fbb74
commit
a38c330c68
Notes:
sideshowbarker
2024-07-18 06:59:39 +09:00
Author: https://github.com/itamar8910
Commit: a38c330c68
Pull-request: https://github.com/SerenityOS/serenity/pull/9402
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