summaryrefslogtreecommitdiffstats
path: root/gold/testsuite/ver_matching_def.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-01-18 23:35:09 +0000
committerIan Lance Taylor <iant@google.com>2008-01-18 23:35:09 +0000
commit106002249a4341c91adc0c25f63c84cd1b544737 (patch)
treec502e6cfa078ce18a78e5287b9eca3434636b15b /gold/testsuite/ver_matching_def.cc
parent14144f39e4581f4f39bcd44c2f8336fee28b0220 (diff)
downloadppe42-binutils-106002249a4341c91adc0c25f63c84cd1b544737.tar.gz
ppe42-binutils-106002249a4341c91adc0c25f63c84cd1b544737.zip
From Craig Silverstein: Handle quoted strings differently in version
scripts, and handle extern "C++" in the middle of a block.
Diffstat (limited to 'gold/testsuite/ver_matching_def.cc')
-rw-r--r--gold/testsuite/ver_matching_def.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/testsuite/ver_matching_def.cc b/gold/testsuite/ver_matching_def.cc
index 71d8d32fd5..2eba163ba7 100644
--- a/gold/testsuite/ver_matching_def.cc
+++ b/gold/testsuite/ver_matching_def.cc
@@ -28,6 +28,10 @@ void foo1() {} // local
void bar() {} // V1
void bar1() {} // global
+void baz(int*) {} // V1
+void baz(int*, char) {} // global
+void baz(char*, int) {} // global
+
extern "C" {
void bar2() {} // V1
};
OpenPOWER on IntegriCloud