aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/c.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c.c')
-rw-r--r--src/c.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/c.c b/src/c.c
index 20c53ff..0715a76 100644
--- a/src/c.c
+++ b/src/c.c
@@ -5000,7 +5000,6 @@ tldecl(CComp *cm)
decl.isdef = 1;
int idecl = putdecl(cm, &decl);
Decl *d = &declsbuf.p[idecl];
- if (d->inlin && decl.scls != SCSTATIC) fatal(&d->span, "non-static inline is unimplemented");
Function fn = { &cm->fnarena, .name = d->sym, .globl = d->scls != SCSTATIC, .fnty = decl.ty, .retty = td->ret, .inlin = d->inlin };
irinit(&fn);
function(cm, &fn, st.pnames, st.pspans, st.pqual);