Software: Apache. PHP/5.4.45 

uname -a: Linux webm056.cluster010.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue
Sep 17 08:14:20 UTC 2024 x86_64
 

uid=243112(mycochar) gid=100(users) groups=100(users)  

Safe-mode: OFF (not secure)

/home/mycochar/www/image/photo/gcc-12.3.0/gcc/testsuite/g++.dg/template/   drwxr-xr-x
Free 0 B of 0 B (0%)
Your ip: 216.73.216.77 - Server ip: 213.186.33.19
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    

[Enumerate]    [Encoder]    [Tools]    [Proc.]    [FTP Brute]    [Sec.]    [SQL]    [PHP-Code]    [Backdoor Host]    [Back-Connection]    [milw0rm it!]    [PHP-Proxy]    [Self remove]
    


Viewing file:     dependent-name17.C (1.42 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
// C++ PR 70317
// { dg-do compile }
// { dg-prune-output "expected primary-expression" }

template<class T> class mytemplateclass
{
public:
  template<class U> void class_func() {}
  template<class U> static void class_func_static() {}
};

class myclass
{
public:
  int testint;
  template<class U> void class_func() {}
  template<class U> static void class_func_static() {}
};

template<class Y> void tests_func(mytemplateclass<Y> c, myclass c2)
{
  /* Dependent template accessors (ill-formed code).  */
  c.class_func<Y>(); // { dg-warning "keyword before dependent template name" }
  (&c)->class_func<Y>(); // { dg-warning "keyword before dependent template name" }
  mytemplateclass<Y>::class_func_static<Y>(); // { dg-warning "keyword before dependent template name" }

  /* Dependent template accessors (well-formed code).  */
  c.template class_func<Y>();
  (&c)->template class_func<Y>();
  mytemplateclass<Y>::template class_func_static<Y>();

  /* Non-dependent template accessors (well-formed code).  */
  c2.class_func<myclass>();
  (&c2)->class_func<myclass>();
  myclass::class_func_static<myclass>();
}

int main()
{
  mytemplateclass<myclass> c;
  myclass c2;
  tests_func<myclass>(c, c2);

  c2.testint = 53;
  /* Make sure this isn't treated as a template.  */
  bool testbool = c2.testint < 999 > 7;
  /* This probably will be treated as a template initially but it should still work.  */
  testbool = c2.testint < 123 > (50);
}

Enter:
 
Select:
 

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

Search
  - regexp 

Upload
 
[ ok ]

Make Dir
 
[ ok ]
Make File
 
[ ok ]

Go Dir
 
Go File
 

--[ x2300 Locus7Shell v. 1.0a beta Modded by #!physx^ | www.LOCUS7S.com | Generation time: 0.0061 ]--