aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/gcc/testsuite/g++.dg/ext/mv7.C
blob: d378402e779481fcd7fd36746d66c8ae4aca33de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-do compile { target i?86-*-* x86_64-*-* } }
// { dg-options "" }

__attribute__((target ("default")))
void foo (void)	// { dg-error "previously defined here" }
{
}

__attribute__((target (128)))
void foo (void) // { dg-error "(not a string|redefinition)" }
{
}