summaryrefslogtreecommitdiff
path: root/tools/memory-model/litmus-tests/SB+fencembonceonces.litmus
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2020-11-06 00:20:56 +0300
committerPaul E. McKenney <paulmck@kernel.org>2020-11-07 04:25:16 +0300
commit1947bfcf81a905e84a58b423063e81034a90efed (patch)
treebea33fb0fa3ca7f74d7e86437c756149d233da21 /tools/memory-model/litmus-tests/SB+fencembonceonces.litmus
parent0a27ce6b6968866fa8e3bd70371d67752db7718f (diff)
downloadlinux-1947bfcf81a905e84a58b423063e81034a90efed.tar.xz
tools/memory-model: Add types to litmus tests
This commit adds type information for global variables in the litmus tests in order to allow easier use with klitmus7. Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/memory-model/litmus-tests/SB+fencembonceonces.litmus')
-rw-r--r--tools/memory-model/litmus-tests/SB+fencembonceonces.litmus5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/memory-model/litmus-tests/SB+fencembonceonces.litmus b/tools/memory-model/litmus-tests/SB+fencembonceonces.litmus
index ed5fff18d223..833cdfeb7c09 100644
--- a/tools/memory-model/litmus-tests/SB+fencembonceonces.litmus
+++ b/tools/memory-model/litmus-tests/SB+fencembonceonces.litmus
@@ -9,7 +9,10 @@ C SB+fencembonceonces
* suffice, but not much else.)
*)
-{}
+{
+ int x;
+ int y;
+}
P0(int *x, int *y)
{