Add a test case for atomic ops
authorRyan Lortie <desrt@desrt.ca>
Tue, 24 May 2011 06:07:55 +0000 (02:07 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 28 May 2011 03:00:14 +0000 (23:00 -0400)
commitedd65baa6d9f6b951f093a15b6fcb5771e3397e0
tree112630019c3d6fe528ec72afe9b00f4eb2f8dad9
parentc00ef0a17aba057698eab4d4a769b358511370cd
Add a test case for atomic ops

Make sure that the macros work properly with the range of types that
they are documented to work with and ensure that no strict aliasing
warnings are issued (even at the highest warning level).

https://bugzilla.gnome.org/show_bug.cgi?id=650935
glib/tests/.gitignore
glib/tests/Makefile.am
glib/tests/atomic.c [new file with mode: 0644]