gcc/testsuite/g++.dg/abi/mangle41.C
raw| 1 | // PR c++/41959 |
| 2 | // { dg-do compile { target i?86-*-* x86_64-*-* } } |
| 3 | // { dg-options "-mavx -fabi-version=2" } |
| 4 | // { dg-skip-if "requires hosted libstdc++ for cstdlib malloc" { ! hostedlib } } |
| 5 | |
| 6 | #include <x86intrin.h> |
| 7 | void f(__m128) { } // { dg-message "previous mangling" } |
| 8 | void f(__m256) { } // { dg-error "conflicts with a previous mangle" } |
| 9 | // { dg-message "mangling" "" { target *-*-* } .-1 } |