mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:47:45 +00:00
Libraries/LibCpp: Add parser test for out-of-line function definitions
This commit is contained in:
parent
cdfc530a99
commit
610b380515
2 changed files with 31 additions and 0 deletions
10
Userland/Libraries/LibCpp/Tests/parser/out-of-line.cpp
Normal file
10
Userland/Libraries/LibCpp/Tests/parser/out-of-line.cpp
Normal file
|
@ -0,0 +1,10 @@
|
|||
|
||||
|
||||
class A
|
||||
{
|
||||
bool foo();
|
||||
};
|
||||
|
||||
bool A::foo() {
|
||||
return true;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue