2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / min.c
blobd8472702e9c08128f14aae0d31cc0e82a0ad1fb8
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
4 static inline int
5 min (int a, int b)
7 return a < b ? a : b;
10 int
11 test_00 (int a)
13 return min (a, a + 8);
16 int
17 test_01 (int a)
19 return min (a, a - 8);
22 /* { dg-final { scan-tree-dump-not "MIN_EXPR" "optimized" } } */