banan-os/userspace/test-globals/main.cpp

15 lines
169 B
C++
Raw Normal View History

#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()
{
}