repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[Clang] replace 'bitfield' with 'bit-field' for consistency (#117881)
[llvm-project.git]
/
clang
/
test
/
CodeGenCXX
/
used-decl-visitor.cpp
blob
2b923ab562dbda1bdeb6bd730cfef1019291f1b0
1
// RUN: %clang_cc1 -triple x86_64 -emit-llvm -o %t %s
2
3
// Make sure there is no assertion due to UsedDeclVisitor.
4
5
struct
A
{
6
int
a
;
7
};
8
9
static
A a
;
10
11
struct
B
{
12
B
(
int
b
=
a
.
a
) {}
13
};
14
15
16
void
foo
() {
17
B
();
18
}