doc: Remove i?86-*-linux* installation note from 2003
[official-gcc.git] / gcc / testsuite / g++.dg / abi / Wabi-3-3.C
blob443497121bd7fc113bb00e7f62fae41add02584f
1 // Verify that no diagnostic is issued when the version specified
2 // via -Wabi= matches the version specified by -fabi-version=.
4 // { dg-options "-Werror -Wabi=3 -fabi-version=3" }
5 // { dg-do compile }
7 // The mangling of templates with a non-type template parameter
8 // of reference type changed in ABI version 3: 
9 extern int N;
10 template <int &> struct S { };
12 // Expect no diagnostic.
13 void foo (S<N>) { }