summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/abi/mangle41.C
blob: 4c0d0038e8031e932f35621a8d935048bc21e8a5 (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 declaration" }
void f(__m256) { }		// { dg-error "conflicts" }
// { dg-message "mangling" "" { target *-*-* } 7 }