diff options
Diffstat (limited to 'clang/test/CodeGenCXX/mangle.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/mangle.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/test/CodeGenCXX/mangle.cpp b/clang/test/CodeGenCXX/mangle.cpp new file mode 100644 index 00000000000..7b92c85046f --- /dev/null +++ b/clang/test/CodeGenCXX/mangle.cpp @@ -0,0 +1,9 @@ +// RUN: clang -emit-llvm %s -o - | grep _ZplRK1YRA100_P1X + +// FIXME: This test is intentionally trivial, because we can't yet +// CodeGen anything real in C++. +struct X { }; +struct Y { }; + +bool operator+(const Y&, X* (&xs)[100]) { return false; } + |