diff options
Diffstat (limited to 'clang/test/CodeGenCXX/array-pointer-decay.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/array-pointer-decay.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/test/CodeGenCXX/array-pointer-decay.cpp b/clang/test/CodeGenCXX/array-pointer-decay.cpp new file mode 100644 index 0000000..3fe6b72 --- /dev/null +++ b/clang/test/CodeGenCXX/array-pointer-decay.cpp @@ -0,0 +1,7 @@ +// RUN: %clang_cc1 %s -emit-llvm -o - + +void f(const char*); + +void g() { + f("hello"); +} |