From 4c8b24812ddcd1dedaca343a6d4e76f91f398981 Mon Sep 17 00:00:00 2001 From: Roman Divacky Date: Wed, 14 Oct 2009 18:03:49 +0000 Subject: Update clang to r84119. --- test/CodeGenCXX/array-pointer-decay.cpp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/CodeGenCXX/array-pointer-decay.cpp (limited to 'test/CodeGenCXX/array-pointer-decay.cpp') diff --git a/test/CodeGenCXX/array-pointer-decay.cpp b/test/CodeGenCXX/array-pointer-decay.cpp new file mode 100644 index 0000000000000..5751b67b74916 --- /dev/null +++ b/test/CodeGenCXX/array-pointer-decay.cpp @@ -0,0 +1,7 @@ +// RUN: clang-cc %s -emit-llvm -o - + +void f(const char*); + +void g() { + f("hello"); +} -- cgit v1.3