Skip to content

Commit adc2fa3

Browse files
committed
Updated test.
1 parent 932ed9c commit adc2fa3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/test_sqlite3.f90

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,10 @@ program test_sqlite3
216216
! Close SQLite handle.
217217
rc = sqlite3_close_v2(db)
218218
if (rc /= SQLITE_OK) stop 'sqlite3_close(): failed'
219+
220+
if (c_associated(db)) then
221+
print '("warning: database handle still associated (this is probably a compiler bug)")'
222+
end if
219223
contains
220224
integer function journal_mode_wal(db) result(rc)
221225
!! Enables WAL mode.

0 commit comments

Comments
 (0)