diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2020-11-05 13:20:56 -0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-11-06 17:25:16 -0800 |
commit | 1947bfcf81a905e84a58b423063e81034a90efed (patch) | |
tree | bea33fb0fa3ca7f74d7e86437c756149d233da21 /tools/memory-model/litmus-tests/MP+onceassign+derefonce.litmus | |
parent | 0a27ce6b6968866fa8e3bd70371d67752db7718f (diff) | |
download | linux-1947bfcf81a905e84a58b423063e81034a90efed.tar.bz2 |
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/MP+onceassign+derefonce.litmus')
-rw-r--r-- | tools/memory-model/litmus-tests/MP+onceassign+derefonce.litmus | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/memory-model/litmus-tests/MP+onceassign+derefonce.litmus b/tools/memory-model/litmus-tests/MP+onceassign+derefonce.litmus index 97731b4bbdd8..18df682b08b2 100644 --- a/tools/memory-model/litmus-tests/MP+onceassign+derefonce.litmus +++ b/tools/memory-model/litmus-tests/MP+onceassign+derefonce.litmus @@ -10,8 +10,9 @@ C MP+onceassign+derefonce *) { -y=z; -z=0; + int x; + int *y=z; + int z=0; } P0(int *x, int **y) |