projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix some documentation for the tutorial.
[oota-llvm.git]
/
test
/
C++Frontend
/
2003-11-18-MemberInitializationCasting.cpp.tr
1
// RUN: %llvmgcc -xc++ -S -o - %s | llvm-as | opt -die | llvm-dis | notcast
2
3
struct A {
4
A() : i(0) {}
5
int getI() {return i;}
6
int i;
7
};
8
9
int f(int j)
10
{
11
A a;
12
return j+a.getI();
13
}