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
Don't warn when alignment of global common data exceeds maximum alignment.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.dg
/
gdc4.d
blob
9a7499a1490b949a2fe98109bd771d9d77a96b43
1
// https://bugzilla.gdcproject.org/show_bug.cgi?id=4
2
// { dg-do compile }
3
4
void
test4
()
5
{
6
string
str
=
"allo"
;
7
static assert
(!
__traits
(
compiles
,
str
.
reverse
));
8
static assert
(!
__traits
(
compiles
,
str
.
sort
));
9
}