BuildSystem: Cleanup userspace directory layout
userspace programs are now in userspace/programs userspace tests are now in userspace/tests This makes listing userspace projects much cleaner. Libraries were already separated to their own directory, so other programs should also.
This commit is contained in:
14
userspace/tests/test-globals/main.cpp
Normal file
14
userspace/tests/test-globals/main.cpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#include <stdio.h>
|
||||
|
||||
struct foo_t
|
||||
{
|
||||
foo_t() { printf("global constructor works\n"); }
|
||||
~foo_t() { printf("global destructor works\n"); }
|
||||
};
|
||||
|
||||
foo_t foo;
|
||||
|
||||
int main()
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user