diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2007-07-17 06:20:38 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2007-07-17 06:20:38 +0000 |
| commit | 5bc753e26b7973d5d4534b5a7d8c44b908aea7de (patch) | |
| tree | 4e0746a51dc7b50c76485fd5772286c27bde1c5b /llvm/test/C++Frontend/2006-11-20-GlobalSymbols.cpp | |
| parent | 396156e00b3eb1e6b7541cf602b667b0e7028d63 (diff) | |
| download | bcm5719-llvm-5bc753e26b7973d5d4534b5a7d8c44b908aea7de.tar.gz bcm5719-llvm-5bc753e26b7973d5d4534b5a7d8c44b908aea7de.zip | |
For PR1558:
Move tests that have C/C++ sources into the appropriate directory. This
allows them to be selected for testing based on whether llvm-gcc is
present or not.
llvm-svn: 39963
Diffstat (limited to 'llvm/test/C++Frontend/2006-11-20-GlobalSymbols.cpp')
| -rw-r--r-- | llvm/test/C++Frontend/2006-11-20-GlobalSymbols.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/C++Frontend/2006-11-20-GlobalSymbols.cpp b/llvm/test/C++Frontend/2006-11-20-GlobalSymbols.cpp new file mode 100644 index 00000000000..fc896b330a4 --- /dev/null +++ b/llvm/test/C++Frontend/2006-11-20-GlobalSymbols.cpp @@ -0,0 +1,10 @@ +// PR1013 +// Check to make sure debug symbols use the correct name for globals and +// functions. Will not assemble if it fails to. +// RUN: %llvmgcc -O0 -g -c %s + +int foo __asm__("f\001oo"); + +int bar() { + return foo; +} |

