repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
other
/
error36.C
blob
556287816fd4891563884dc3f802f7d43b3e6f9e
1
// PR c++/106983
2
// { dg-do compile { target c++20 } }
3
4
typedef unsigned long long A;
5
typedef union
6
{
7
struct B s; // { dg-error "incomplete" }
8
A a;
9
} U;
10
void f (A x, unsigned int b)
11
{
12
const U y = {.a = x};
13
}