repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR lto/84212 - -Wno-* does not disable warnings from -flto link stage
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
tc1
/
dr188.C
blob
3a10fa476263ad9dbb03687cafa830d71e5497d8
1
// { dg-do compile }
2
// Origin: Giovanni Bajo <giovannibajo at gcc dot gnu dot org>
3
// DR188: Comma operator and rvalue conversion
4
5
template <bool> struct StaticAssert;
6
template <> struct StaticAssert<true> {};
7
8
char arr[100];
9
StaticAssert<(sizeof(0,arr) == 100)> check;