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
2018-11-28 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
c2x-static-assert-2.c
blob
c3474676e023197763dfdd64c8961eb6a2c080a6
1
/* Test C2x static assertions. Omitting the string supported. Failed
2
assertions. */
3
/* { dg-do compile } */
4
/* { dg-options "-std=c2x -pedantic" } */
5
6
_Static_assert
(
0
);
/* { dg-error "static assertion failed" } */