summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/stmtexpr1.C
blob: a470ca8f14f44f39586fc9eda98e0c8439479151 (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/17404
// { dg-do compile }
// { dg-options "" }

template <int> void foo ()
{
  __builtin_expect  (({0;}), 1);
}
 
template void foo<1> ();