repo.or.cz
/
clang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[Heikki Kultala] This patch contains the ABI changes for the TCE target.
[clang.git]
/
test
/
CodeGenCXX
/
default-constructor-default-argument.cpp
blob
f2c7f6d12a34ae60e4e6896b51c667ce0772f790
1
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
2
3
// Check that call to constructor for struct A is generated correctly.
4
struct
A
{
A
(
int
x
=
2
); };
5
struct
B
:
public
A
{};
6
B x
;
7
8
// CHECK: call void @_ZN1AC2Ei