summaryrefslogtreecommitdiff
path: root/libgomp/testsuite/libgomp.oacc-c/c.exp
diff options
context:
space:
mode:
Diffstat (limited to 'libgomp/testsuite/libgomp.oacc-c/c.exp')
-rw-r--r--libgomp/testsuite/libgomp.oacc-c/c.exp7
1 files changed, 7 insertions, 0 deletions
diff --git a/libgomp/testsuite/libgomp.oacc-c/c.exp b/libgomp/testsuite/libgomp.oacc-c/c.exp
index b509a109815..4475bf5341f 100644
--- a/libgomp/testsuite/libgomp.oacc-c/c.exp
+++ b/libgomp/testsuite/libgomp.oacc-c/c.exp
@@ -15,6 +15,13 @@ load_lib libgomp-dg.exp
load_gcc_lib gcc-dg.exp
load_gcc_lib torture-options.exp
+proc check_effective_target_c { } {
+ return 1
+}
+proc check_effective_target_c++ { } {
+ return 0
+}
+
# Initialize dg.
dg-init
torture-init