2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / opt / pr20995-1.C
blobaa96896392393f8093f7f98a407be803c2ae215f
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 template<int N> void foo()
6     double d = (N ? 0.0 : 0) + 1;