aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/pr89933.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/c-c++-common/pr89933.c')
-rw-r--r--gcc/testsuite/c-c++-common/pr89933.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/c-c++-common/pr89933.c b/gcc/testsuite/c-c++-common/pr89933.c
new file mode 100644
index 00000000000..870504d4208
--- /dev/null
+++ b/gcc/testsuite/c-c++-common/pr89933.c
@@ -0,0 +1,5 @@
+/* PR c/89933 */
+/* { dg-do compile } */
+
+typedef unsigned int a __attribute__ ((__aligned__(8), __may_alias__));
+typedef unsigned int a __attribute__ ((__aligned__(8), __may_alias__));