diff options
Diffstat (limited to 'test/CodeGenCXX/builtins.cpp')
-rw-r--r-- | test/CodeGenCXX/builtins.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGenCXX/builtins.cpp b/test/CodeGenCXX/builtins.cpp new file mode 100644 index 0000000..0629c31 --- /dev/null +++ b/test/CodeGenCXX/builtins.cpp @@ -0,0 +1,9 @@ +// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s + +// PR8839 +extern "C" char memmove(); + +int main() { + // CHECK: call signext i8 @memmove() + return memmove(); +} |