diff options
Diffstat (limited to 'xpcom/tests/TestBlockingProcess.cpp')
-rw-r--r-- | xpcom/tests/TestBlockingProcess.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/xpcom/tests/TestBlockingProcess.cpp b/xpcom/tests/TestBlockingProcess.cpp new file mode 100644 index 0000000000..a1996aefdb --- /dev/null +++ b/xpcom/tests/TestBlockingProcess.cpp @@ -0,0 +1,8 @@ +#include <stdio.h> +#include "mozilla/Unused.h" + +int main() { + char tmp; + mozilla::Unused << fread(&tmp, sizeof(tmp), 1, stdin); + return 0; +} |