aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/abi/mangle41.C
blob: 9da72f11feb69ad8d613ce20b6f0bbe06aa8eb66 (plain)
1
2
3
4
5
6
7
8
// PR c++/41959
// { dg-do compile { target i?86-*-* x86_64-*-* } }
// { dg-options "-mavx -fabi-version=2" }

#include <x86intrin.h>
void f(__m128) { }	// { dg-message "previous mangling" }
void f(__m256) { }	// { dg-error "conflicts with a previous mangle" }
// { dg-message "mangling" "" { target *-*-* } .-1 }