Message ID | 20170109162528.GN21933@tucnak |
---|---|
State | New |
Headers | show |
--- gcc/testsuite/g++.dg/cpp1z/constexpr-if10.C.jj 2017-01-08 17:41:17.000000000 +0100 +++ gcc/testsuite/g++.dg/cpp1z/constexpr-if10.C 2017-01-09 17:15:54.006314980 +0100 @@ -1,4 +1,4 @@ -// PR c++/79848 +// PR c++/78948 // { dg-options -std=c++1z } template <int T> @@ -9,8 +9,8 @@ void sizeof_mismatch() int main() { - if constexpr(sizeof(long long) == sizeof(char*)) + if constexpr(sizeof(int*) == sizeof(char*)) ; else - sizeof_mismatch<sizeof(long long)>(); + sizeof_mismatch<sizeof(int*)>(); }