mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 06:38:10 +00:00
LibCpp: Add test for parsing class definitions
This commit is contained in:
parent
7de6c1489b
commit
ee9fe288b2
2 changed files with 38 additions and 0 deletions
11
Userland/Libraries/LibCpp/Tests/class.cpp
Normal file
11
Userland/Libraries/LibCpp/Tests/class.cpp
Normal file
|
@ -0,0 +1,11 @@
|
|||
class A {
|
||||
A(int z);
|
||||
~A();
|
||||
void foo();
|
||||
|
||||
private:
|
||||
int x;
|
||||
|
||||
public:
|
||||
int y;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue