Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gsauthof-utility
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
external
gsauthof-utility
Commits
91cd6cd9
Commit
91cd6cd9
authored
9 months ago
by
Georg Sauthoff
Browse files
Options
Downloads
Patches
Plain Diff
forward declare symbols
to fix compile errors on Fedora 40
parent
dfafc193
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/arsort.py
+11
-3
11 additions, 3 deletions
test/arsort.py
with
11 additions
and
3 deletions
test/arsort.py
+
11
−
3
View file @
91cd6cd9
...
@@ -36,17 +36,25 @@ class Basic(unittest.TestCase):
...
@@ -36,17 +36,25 @@ class Basic(unittest.TestCase):
stderr
=
subprocess
.
STDOUT
)
stderr
=
subprocess
.
STDOUT
)
def
test_sort
(
self
):
def
test_sort
(
self
):
self
.
create_ar
(
'
zoo
'
,
'''
void zoo()
self
.
create_ar
(
'
zoo
'
,
'''
#include <stdio.h>
void yar();
void zoo()
{
{
puts(
"
zoo
"
);
puts(
"
zoo
"
);
yar();
yar();
}
'''
)
}
'''
)
self
.
create_ar
(
'
yar
'
,
'''
void yar()
self
.
create_ar
(
'
yar
'
,
'''
#include <stdio.h>
void xaz();
void yar()
{
{
puts(
"
yar
"
);
puts(
"
yar
"
);
xaz();
xaz();
}
'''
)
}
'''
)
self
.
create_ar
(
'
xaz
'
,
'''
void xaz()
self
.
create_ar
(
'
xaz
'
,
'''
#include <stdio.h>
void xaz()
{
{
puts(
"
xaz
"
);
puts(
"
xaz
"
);
}
'''
)
}
'''
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment