project tests refactoring
This commit is contained in:
20
tests/runtime/hello/hello.cpp
Normal file
20
tests/runtime/hello/hello.cpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#include <stdio.h>
|
||||
|
||||
struct hello {
|
||||
int a;
|
||||
hello()
|
||||
{
|
||||
a = 55;
|
||||
}
|
||||
};
|
||||
|
||||
hello nameing;
|
||||
|
||||
int main()
|
||||
{
|
||||
nameing.a = 20;
|
||||
int b;
|
||||
printf("Passed!\n");
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user