diff --git a/src/interfaces/ecpg/test/header_test.h b/src/interfaces/ecpg/test/header_test.h
new file mode 100644
index 0000000000000000000000000000000000000000..2494a61dd746af2d63334a125c5299d0d385db41
--- /dev/null
+++ b/src/interfaces/ecpg/test/header_test.h
@@ -0,0 +1,4 @@
+exec sql include sqlca;
+
+exec sql whenever not found do set_not_found();
+exec sql whenever sqlerror sqlprint;