PR testsuite/86649
[official-gcc.git] / gcc / testsuite / g++.dg / tree-ssa / pr30738.C
blob84cfdd98cc1535e0b24e8cc5ddd68fa63e5adfa7
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-phiopt1" } */
4 template <class T>
5 static inline const T&
6 min_ref (const T &x, const T &y)
8   return x < y ? x : y;
11 int test_min_ref (int x, int y)
13   return min_ref (x, y);
16 /* { dg-final { scan-tree-dump "MIN_EXPR" "phiopt1" } } */