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 c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
diagnostic
/
pr61004.C
blob
3bf66bed7a46bd9e32f642ca7a47434fff048044
1
// { dg-do compile }
2
// { dg-options "-O2 -Wall" }
3
4
struct A{ };
5
struct B:A{};
6
void f(A const&);
7
int main()
8
{
9
B b;
10
f(b); // { dg-bogus "strict-aliasing" }
11
}