clang/test/CodeGen/aix-common.c
raw| 1 | // RUN: %clang_cc1 -triple powerpc-ibm-aix -S -fcommon %s -verify -o - |
| 2 | // RUN: %clang_cc1 -triple powerpc64-ibm-aix -S -fcommon %s -verify -o - |
| 3 | int xxxxxx; |
| 4 | extern int yyyyyy __attribute__((__alias__("xxxxxx") )); //expected-error {{alias to a variable in a common section is not allowed}} |
| 5 | |
| 6 | void *gggggg() { return &yyyyyy; } |