Index: tests/Makefile.am
===================================================================
--- tests/Makefile.am	(revision 64f3b9fefe9bf3caf101090443066ca16169610e)
+++ tests/Makefile.am	(revision e797179240a99bdf7b97c53740f6886b84225a18)
@@ -290,4 +290,9 @@
 	rm ${abspath ${@}}.o
 
+# No-warning tests
+# Tests to make sure that given CFA code gets emitted C code that GCC accepts without any warnings
+nowarn/% : nowarn/%.cfa ${CFABIN}
+	${CFACOMPILETEST} -Wunused-function -Wpsabi -Wall -Wextra -Werror -o ${abspath ${@}}
+
 #------------------------------------------------------------------------------
 # Other targets
Index: tests/nowarn/.expect/no-autogen.txt
===================================================================
--- tests/nowarn/.expect/no-autogen.txt	(revision e797179240a99bdf7b97c53740f6886b84225a18)
+++ tests/nowarn/.expect/no-autogen.txt	(revision e797179240a99bdf7b97c53740f6886b84225a18)
@@ -0,0 +1,1 @@
+done
Index: tests/nowarn/no-autogen.cfa
===================================================================
--- tests/nowarn/no-autogen.cfa	(revision e797179240a99bdf7b97c53740f6886b84225a18)
+++ tests/nowarn/no-autogen.cfa	(revision e797179240a99bdf7b97c53740f6886b84225a18)
@@ -0,0 +1,10 @@
+// A structure with no autogeneratable lifecycle functions
+forall( T * )
+struct Thing {
+    T x;
+};
+
+int main() {
+    printf("done\n");
+    return 0;
+}
