diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-10-30 20:54:23 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2021-10-30 20:54:23 +0200 |
commit | a75c766f80126525e8dfa525b32252ba38b17b26 (patch) | |
tree | e5fafd2060dfd7569ece353237dd65ef3f993b93 /miniany/test1.c | |
parent | df1a8de0d0667f39b51cffa812dca780cc48bc14 (diff) | |
download | compilertests-a75c766f80126525e8dfa525b32252ba38b17b26.tar.gz compilertests-a75c766f80126525e8dfa525b32252ba38b17b26.tar.bz2 |
cc: some proper checking of return types and some primitive check for missing or superflous return statements
Diffstat (limited to 'miniany/test1.c')
-rw-r--r-- | miniany/test1.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/miniany/test1.c b/miniany/test1.c index 4c919ce..20986e3 100644 --- a/miniany/test1.c +++ b/miniany/test1.c @@ -1,6 +1,5 @@ /* test1 */ -/* TODO: check void (no return allowed) and check for int (in this case it is required) */ int f( ) { return 42; |