Skip to content

Instantly share code, notes, and snippets.

@hasegawayosuke
Forked from mattn/foo.cxx
Created February 25, 2010 06:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save hasegawayosuke/314289 to your computer and use it in GitHub Desktop.
Save hasegawayosuke/314289 to your computer and use it in GitHub Desktop.
/*
fix: error C2016: C では、構造体または共用体に少なくとも 1 つのメンバが必要です。
struct function {
};
*/
typedef void functon;
function foo() {
}
int main(void) {
foo();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment