diff options
Diffstat (limited to 'clang/test/CodeGenCXX/x86_64-arguments.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/x86_64-arguments.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/clang/test/CodeGenCXX/x86_64-arguments.cpp b/clang/test/CodeGenCXX/x86_64-arguments.cpp index cd097680d37..e7316989fea 100644 --- a/clang/test/CodeGenCXX/x86_64-arguments.cpp +++ b/clang/test/CodeGenCXX/x86_64-arguments.cpp @@ -100,3 +100,18 @@ namespace test5 { // CHECK: alloca %"struct.test5::X" // CHECK: alloca %"struct.test5::Y" } + + +// rdar://8360877 +namespace test6 { + struct outer { + int x; + struct epsilon_matcher {} e; + int f; + }; + + int test(outer x) { + return x.x + x.f; + } + // CHECK: define i32 @_ZN5test64testENS_5outerE(i64 %x.coerce0, i32 %x.coerce1) +} |