From d8734cf9162bc74b3c7603e4e81cb04a983bd444 Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Thu, 29 May 2008 19:17:15 +0000 Subject: For PR1338: Rename test dirs llvm-svn: 51695 --- llvm/test/FrontendC++/2004-01-11-DynamicInitializedConstant.cpp | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 llvm/test/FrontendC++/2004-01-11-DynamicInitializedConstant.cpp (limited to 'llvm/test/FrontendC++/2004-01-11-DynamicInitializedConstant.cpp') diff --git a/llvm/test/FrontendC++/2004-01-11-DynamicInitializedConstant.cpp b/llvm/test/FrontendC++/2004-01-11-DynamicInitializedConstant.cpp new file mode 100644 index 00000000000..8ae15c9592b --- /dev/null +++ b/llvm/test/FrontendC++/2004-01-11-DynamicInitializedConstant.cpp @@ -0,0 +1,6 @@ +// RUN: %llvmgcc -xc++ -S -o - %s | not grep { constant } + +extern int X; +const int Y = X; +const int* foo() { return &Y; } + -- cgit v1.2.3