summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/tree-ssa/builtin1.C
blob: 76813cb8dddf083bf05d1c0f5718acb4ba334ff5 (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do link }

extern void link_error();

int main()
{
	if (! __builtin_constant_p (&"Hello"[0]))
		link_error();
	return 0;
}