mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-27 15:02:16 +00:00
new testcase for PR126
llvm-svn: 10072
This commit is contained in:
parent
04a9cb7189
commit
503d442fe8
@ -0,0 +1,13 @@
|
||||
// RUN: %llvmgcc -xc++ -S -o - %s | not grep ' cast '
|
||||
|
||||
struct A {
|
||||
A() : i(0) {}
|
||||
int getI() {return i;}
|
||||
int i;
|
||||
};
|
||||
|
||||
int f(int j)
|
||||
{
|
||||
A a;
|
||||
return j+a.getI();
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user