diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index deca25d98502149dc84adfa0e86623a08e395f22..6a64ab9a5d8fc9028376f7d0dadb8c409f87683e 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2006-01-18  Eric Christopher  <echristo@apple.com>
+
+	* g++.dg/eh/table.C: New.
+
 2006-01-18  DJ Delorie  <dj@redhat.com>
 
 	* gcc.dg/Werror-1.c, gcc.dg/Werror-2.c, gcc.dg/Werror-3.c,
diff --git a/gcc/testsuite/g++.dg/eh/table.C b/gcc/testsuite/g++.dg/eh/table.C
new file mode 100644
index 0000000000000000000000000000000000000000..6f36bc6cf91e19bd6320e5ce71c4068748a369de
--- /dev/null
+++ b/gcc/testsuite/g++.dg/eh/table.C
@@ -0,0 +1,33 @@
+// { dg-do compile { target *-*-darwin* } }
+// { dg-final { scan-assembler "GCC_except_table0" } }
+void needed();
+void unneeded();
+
+class Bar
+{
+public:
+  Bar() {}
+  virtual ~Bar() {}
+
+  void unneeded();
+};
+
+void needed()
+{
+	Bar b;
+}
+
+//#if 0
+void unneeded()
+{
+	Bar b;
+	b.unneeded();
+}
+//#endif
+
+int main()
+{
+	needed();
+
+	return 0;
+}