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
testsuite: fix c23-constexpr-2a.c test to use dg-do run
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
offsetof3.C
blob
b17374645b20f5af40c6970983ad78f2f348c80d
1
// PR c++/64487
2
3
struct foo {
4
int member;
5
};
6
7
template < int N>
8
struct bar {};
9
10
template <int N>
11
struct qux {
12
static bar<N+__builtin_offsetof(foo,member)> static_member;
13
};
14
15
template <int N>
16
bar<N+__builtin_offsetof(foo,member)> qux<N>::static_member;
17
18
int main() { }