Index: tests/linking/.expect/io-acquire.txt
===================================================================
--- tests/linking/.expect/io-acquire.txt	(revision 182256b4aa148c77a64e9731dedbd8a503973f2f)
+++ tests/linking/.expect/io-acquire.txt	(revision 182256b4aa148c77a64e9731dedbd8a503973f2f)
@@ -0,0 +1,1 @@
+NO
Index: tests/linking/.in/io-acquire.txt
===================================================================
--- tests/linking/.in/io-acquire.txt	(revision 182256b4aa148c77a64e9731dedbd8a503973f2f)
+++ tests/linking/.in/io-acquire.txt	(revision 182256b4aa148c77a64e9731dedbd8a503973f2f)
@@ -0,0 +1,1 @@
+3
Index: tests/linking/io-acquire.cfa
===================================================================
--- tests/linking/io-acquire.cfa	(revision 182256b4aa148c77a64e9731dedbd8a503973f2f)
+++ tests/linking/io-acquire.cfa	(revision 182256b4aa148c77a64e9731dedbd8a503973f2f)
@@ -0,0 +1,34 @@
+//
+// Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo
+//
+// The contents of this file are covered under the licence agreement in the
+// file "LICENCE" distributed with Cforall.
+//
+// io-acquire.cfa --
+// test whether or not fstream acquire using a weakso locks pulls in threads
+//
+// Author           : Thierry Delisle
+// Created On       : Tue Jul 16 12:14:39 2019
+// Last Modified By :
+// Last Modified On :
+// Update Count     :
+//
+
+#include <fstream.hfa>
+#include <stdlib.hfa>
+
+int main() {
+	int i;
+	if(threading_enabled()) {
+		stdout | acquire | "YES";
+		stdin | i;
+	} else {
+		stdout | acquire | "NO";
+		stdin | i;
+	}
+}
+
+// Local Variables: //
+// tab-width: 4 //
+// compile-command: "cfa io-acquire.cfa" //
+// End: //
