summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp/weak.C
blob: 6c51e1985aa868968eaa73ecb7212db69a38fcd6 (plain)
1
2
3
4
5
// { dg-options "-fno-weak" }

#if __GXX_WEAK__
#error "__GXX_WEAK__ defined when -fno-weak in use"
#endif