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

#include <x86intrin.h>
void f(__m128) { }		// { dg-error "previous" }
void f(__m256) { }		// { dg-message "declaration|mangling" }