commit | e0536857aa99edac505e7a8a389d9e3c0ffbbaf6 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Mon Jan 12 05:01:48 2004 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Mon Jan 12 05:01:48 2004 +0000 |
tree | 3e504df44f91a4d78a7d15b3e862aa30672ae77d | |
parent | 950b713d22a975e1d5ac8f565e64e4bd8557eb12 [diff] [blame] |
Testcase for PR204 llvm-svn: 10769
diff --git a/llvm/test/Regression/C++Frontend/2004-01-11-DynamicInitializedConstant.cpp.tr b/llvm/test/Regression/C++Frontend/2004-01-11-DynamicInitializedConstant.cpp.tr new file mode 100644 index 0000000..03fead2 --- /dev/null +++ b/llvm/test/Regression/C++Frontend/2004-01-11-DynamicInitializedConstant.cpp.tr
@@ -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; } +